In the given figure, the effective resistance in both the parallel wires are equal (both=5Ω) . Hence, the current divided in both the wires will be equal i.e., 2A will get divided in both the wires equally.
Now, by applying Ohm's law (V=iR) , Vx=(1A)×(2Ω)=2volts Vy=(1A)×(3Ω)=3volts