In loop 1:
applying Kirchhoff's loop law:
+12v - 4i1 - 3i=0
4i1+3i=12 ------1
in loop 2:
applying Kirchhoff's loop law:
-5v-2i+2i1+4i1=0
-2i +6i1=5 ------2
on solving 1 and 2
i=11/6
i1=13/8
current through 3 ohm resistor=11/6
current through 4 ohm resistor=13/8
current through 2 ohm resistor=5/24