Solution2:
1 Re8! Kxe8 2 a7 and the pawn queens