why is b^2 kept in the function a^2 + b^2 - 2ab?
I don't understand the question.
a2+b2−2ab=(a−b)2
Maybe that helps ???