How to calculate the square of vector a minus the square of vector B

How to calculate the square of vector a minus the square of vector B

After the square, it's the same as a ^ 2-B ^ 2