Using spalign
package....
\documentclass[a4paper,12pt]{article}
\usepackage{amsmath,spalign}
\begin{document}
\[
\spalignsys{A + B = 1; Ae + Be^2 = 2e^2}\left| \begin{aligned}
& \alpha \\
&
\end{aligned}\right.\to
\spalignsys{A + B = 1; Ae + Be^2 = 2e^2}\left| \begin{aligned}
& \\
& \beta
\end{aligned}\right.
\]
\end{document}
or this.......
\documentclass[a4paper,12pt]{article}
\usepackage{amsmath,spalign}
\begin{document}
\[
\spalignsys{A + B = 1; eA + e^2B = 2e^2}\left| \begin{aligned}
& \pi \\
&
\end{aligned}\right.\to
\spalignsys{A + B = 1; eA + e^2B = 2e^2}\left| \begin{aligned}
& \\
& \lambda
\end{aligned}\right.
\]
\end{document}
array
would also do in this case.