How could i solve this?

the equation f(x)=x2 can be written as x3+px2+q=0
show that p=-1 and q=-20