If one root is square of the other root of the equation x2 + px + q = 0, then the relation between p and q is
(a) p3 - (3p -1)q + q2 = 0
(b) p3 - q(3p + 1) + q2 = 0
(c) p3 + q(3p - 1) + q2 = 0
(d) p3 + q(3p + l) + q2 = 0
The correct option is (a) p3 - (3p -1)q + q2 = 0
Explanation: