$$(x+y)^2 - (x-y)^2$$
How to find the difference between two sets of square numbers
When the difference between two sets of square numbers is asked, we can apply the following formula.
$$(x+y)^2 - (x-y)^2 = x^2 + y^2 + z^2 + 2(xy + y + z + zx)$$
Let us work it out with an example:-
let x=8 and y=7
$$(x+y)^2 - (x-y)^2 = 4xy$$
$$(8+7)^2 - (8-7)^2 = 4*8*7$$
4*57
224