From section 11.3.2 of Nielsen & Chuang:
(4) let $\lambda_i^j$ and $\left|e_i^j\right>$ be the eigenvalues and corresponding eigenvectors of $\rho_i$. Observe that $p_i\lambda_i^j$ and $\left|e_i^j\right>$ are the eigenvalues and eigenvectors of $\sum_ip_i\rho_i$ and thus \begin{align}S\left(\sum_ip_i\rho_i\right) &= -\sum_{ij}p_i\lambda_i^j\log p_i\lambda_i^j \\ &= - \sum_ip_i\log p_i - \sum_ip_i\sum_j\lambda_i^j\log\lambda_i^j \\ &= H\left(p_i\right) + \sum_ip_iS\left(\rho_i\right)\end{align}
So this lemma is used to prove the joint entropy of $S(\rho_{AB})$ with $\rho_{AB}$ equal to $$\rho_{AB} = \sum_i p_i (\rho_i)_A \otimes (|e_i\rangle\langle e_i|)_B.$$ In the attached picture (the lemma), they do it first for only the A-system $\rho_A = \sum_i p_i (\rho_i)_A$, and then they say that this result directly leads to the same result for the above described AB-system (exactly the same?).
First of all, I don't understand how they go from the first to the second line. I understand the fact that $p_i \lambda^j_i $ are the eigenvalues, but I really don't see how.
The second question being, how can you use this result to infer the same result for $S(\rho_{AB})$? I mean you have your extra system in $H_B$ "hanging" on your A-system and I don't see how this just magically disappears or eventually comes down to a factor of 1 when explicitly calculating $S(\rho_AB)$.
I feel pretty silly because this is already the proof aka explanation in the book Nielsen & Chuang and I don't even get it. So maybe explain it really simple and down to Earth for me please.