The two 4 V cells in the upper branch are in series with the same polarity: $E_1 = 4 + 4 = 8\ \text{V}$.
The lower branch is a single 8 V cell, with its positive plate towards A as well.
Two equal emfs of 8 V with the same polarity in parallel give a net emf equal to 8 V.