A lot of choices here:
Run logic sources to VCVS
Run 10 V DC
Run 10 V AC
Effectively, you can choose 1 of those 3 states.
logic source is 10 V
By turning top logic source off and bottom source on, current is backwards.
Adjustments to wiper will change voltage through gate.
The last switch goes though either:
One not gate - switching the state or
two not gates - effectively keeping the state of the source.
Have fun!