... and write the proper code for both of the Arduinos.
You really can and should do this first - and get it working - before you consider implementing the XBees.
After you get it working with the two Arduinos and the two XBees you should be able to eliminate the Arduino at the potentiometer end.
Don