Consider the following figure:
The current Is in Amps in the voltage source, and voltage Vs in volts across the current source respectively, are
−2+Is+I2+I1=0
Is=2−I1−I2=2−10−5
Is=−13Amp
Voltage at node A,
VA=10V
Vs−10=10V
Vs=10+10=20V
Vs=20V