2 analog output to 1 analog input

Why not use two AnalogInputs ?

You mentioned a NodeMCU, but then you're exhibiting a Uno.