Answer
Energy is being absorbed in battery 2.
Work Step by Step
In part (a), we found that the current in battery 2 is $2.0~A$ and the direction of this current is to the left.
The direction of the current is in the opposite direction as the emf $\mathscr{E}_2$
Therefore, energy is being absorbed in battery 2.