Question 1039632
<pre><b>
[Note: in the notation of this site, brackets can only be used
to enclose subscripts.]

{{{ (sqrt(2 )+1)^2 + (sqrt(2)-1)^2 }}}


{{{ (sqrt(2 )+1)(sqrt(2 )+1) + (sqrt(2)-1)(sqrt(2 )-1) }}}

Use FOIL:

{{{(sqrt(2))^2+sqrt(2)+sqrt(2)+1^2+(sqrt(2))^2-sqrt(2)-sqrt(2)+1^2}}}

{{{2+1+2+1}}}

{{{6}}}

Edwin</pre></b>