In the circuit of figure, treat the diodes as ideal. Current in the 4-ohm resistor is (In A)
With battery polarity, D2 is reverse biased and no current flows through 3Ω resistor.
D1 is in forward biasing means 2 Ω and 4 Ω are in series.
So, I=124+2=2A