Mark the nodes as shown in Fig..

Treat O as the reference node.
From the dependent current source of 3i1 amp between B and O,
i2 −i1 = 3i1 or 4i1 = i2 ...(a)
VB is related to VA, VC and the voltage across resistors concerned
VB = VA −i1 × 1 = 4 − i1 VB = VC + i2 × 2 = 3 + 2i2 Hence 4 −i1 = 3 + 2i2 ...
(b) From equations (a) and (b) above, i1 = 1/9 amp and i2 = 4/9 amp
Substituting these, VB = 35/9 volts