\( \newcommand{\ll}{\mathcal L} \newcommand{\ff}{\mathcal F} \definecolor{cornellred}{RGB}{179,27,27} \newcommand{\cred}[1]{\textcolor{cornellred}{#1}} \newcommand{\tcred}[1]{\textcolor{cornellred}{\textrm{#1}}} \)
The red constraints are binding, so substitute for $\pi_1$ and $\pi_2$.