Using Lagrange’s identity
, we have
| | | | | (1) |
We group the six squares into 3 groups of two squares and rewrite:
| | | | | (2) |
| | | | | (3) |
| | | | |
| | | | | (4) |
| | | | |
| | | | | (5) |
Using
| | | | | (6) |
| | | | |
we get
| | | | | (7) |
| | | | | (8) |
| | | | |
by adding equations 2-4. We put the result of equation 7 into1 and get
| | | | | (9) |
| | | | |
| | | | |
which is equivalent



to the claimed identity.