You want to find a polynomial p(x) such that [p(x)]2 = q(x)?
If this is it, it is not possible, for a general q, to find p. q must have roots with even multiplicities. This is not the case in your example. Try putting p = ax2+bx+c, square it, and equate coefficients with q. You'll find a system of equations with no solution.