When two resistors, each of resistance 4.0 ohms, are connected in parallel with a battery, the current leaving the battery is 3.0 A. When the same two resistors are connected in series with the battery, the total current in the circuit is 1.4 A. Calculate the internal resistance of the battery. The solution started with
$1.4 = \frac{E}{8.0 + r}$ and $3.0= \frac{E}{2.0+r}$
I understand the first part because the current in series is always the same, and they are considering the total resistance. But for the second part, I'm confused on why 3 A is used. It's 3 A when it leaves the battery, but didn't it already go through the internal resistor so it's not an accurate representation of the total current in the parallel circuit?