The solution suggested does not explain why L2 is a CFL.
I assume we do have to show that in this sort of questions, but i couldn't come up with a proper proof, especially since no input alphabet was given thus a grammar cannot be explicitly shown.
Additional guidance would be appreciated.