$\sqrt{57+40\sqrt2} - \sqrt{57-40\sqrt2}$
I'm completely clueless about how to use the formula $a^2 + 2ab + b^2 = (a+b)^2$ to factor the expressions.
With the help of commenters, I successfully factored the expressions.
$\sqrt{57+40\sqrt{2}} = 5+4\sqrt{2}$ and $\sqrt{57-40\sqrt{2}} = 5-4\sqrt{2}$. $5+4\sqrt{2}-4\sqrt{2}+5=10$.