Add Aligned Equations inside Theorem
Let us say that you want to write a Theorem and you want to combine a few aligned equations with your theorem. The obvious wrong solution is
  \begin{theorem}
  My awesome theorem is awesome
  \begin{aligned}
      f(x) &= x^2 + x \\
      g(x) &= x^3 + x
  \end{aligned}
  \end{theorem}
The right way to do so
\begin{theorem}
 \intertext{My awesome theorem is awesome}
  \begin{enumerate}
    \begin{align*}
        f(x) &= x^2 + x \\
        g(x) &= x^3 + x
    \end{align*}
  \end{enumerate}
\end{theorem}
I have no idea why we need enumerate command here. That might be the dark art of Latex