The circuit contains 4 parallel horizontal branches acting as sources between the left vertical wire and right vertical wire:
Branches 1, 2, and 4: Each has an EMF E=27 V and internal resistance r=3 Ω.
Branch 3 features two cells connected in series aiding each other (14 V+13 V=27 V) with a net branch resistance of 3 Ω.
Eeq=r11+r21+r31+r41r1E1+r2E2+r3E3+r4E4
Eeq=31+31+31+31327+327+327+327=4×(31)4×(327)=27 V
req1=31+31+31+31=34 Ω−1⟹req=43 Ω
RL=3 Ω+3 Ω=6 Ω
iAB=RL+reqEeq
iAB=6+4327=42727=4 A
VAB=iAB×RL
VAB=4 A×6 Ω=24 V