\[\boxed{\text{659\ (659).\ }\text{Еуроки\ -\ ДЗ\ без\ мороки}}\]
\[a + b = 7;\ \ ab = 2\]
\[a^{2} + b^{2} =\]
\[= \left( a^{2} + 2\text{ab} + b^{2} \right) - 2\text{ab} =\]
\[= (a + b)^{2} - 2\text{ab} = 7^{2} - 2 \cdot 2 =\]
\[= 49 - 4 = 45\]
\[Ответ:45.\]