The square of a quadratic will have the form
So, if can indeed be factored as the square of a quadratic in , then it should take that form. With this assumption, we have:
Solving this, we find that .
And, indeed, if you try expanding it yourself, you will see that
And this fact should give you what you need to complete your proof.