Giải các hệ phương trình:
$1)\,\,\left\{ \begin{array}{l}
xy = 40\\
{x^{\lg y}} = 4
\end{array} \right.\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,2)\,\,\left\{
\
\begin{array}{l}
{\log _y}x + {\log _x}y = 2\\
{x^2} + y = 12
\end{array} \right.$