\[x - девочек;\ \ y - мальчиков.\]
\[\left\{ \begin{matrix} x + y = 25\ \ \ \ | \cdot 2 \\ 3x + 2y = 62\ \ \ \ \ \ \\ \end{matrix} \right.\ \text{\ \ \ \ \ }\]
\[\left\{ \begin{matrix} 2x + 2y = 50 \\ 3x + 2y = 62 \\ \end{matrix} \right.\ \text{\ \ \ \ }( - )\]
\[\overline{\ \ \ \ \ - x = - 12\ \ \ }\]
\[\ \ \ \ \ \ \ \ x = 12\]
\[\left\{ \begin{matrix} x = 12\ \ \ \ \ \ \ \ \ \ \\ y = 25 - 12 \\ \end{matrix} \right.\ \text{\ \ \ \ \ \ \ \ }\]
\[\left\{ \begin{matrix} x = 12 \\ y = 13 \\ \end{matrix} \right.\ \]
\[Ответ:12\ девочек,\ \]
\[13\ мальчиков.\ \]