You can put this solution on YOUR website!
The exact answer can be had by letting be that , so that:
For those to be polynomials, all be , so:
.... leads to or .... leads to ,; so, or .... whether is + or - , the square is
So,
Another approach is to use the . A quadratic is a perfect square if and only if its discriminant is zero. So: