You know the 1 ohm resistor is in parallel with the 10V source, therefore the voltage across it is 10V. Now we can subtract from the 10V the drop across the other 1 ohm resistor which is 1*Iq, and subtract Vq. 10 - 1*Iq - Vq=0, we can plug in for Iq which is Vq^2+2*Vq. Solve for Vq, you'll obtain a positive and negative value but only the positive makes sense because of our polarity.