How could i solve this?

the equation f(x)=x^2 can be written as x^3+px^2+q=0
show that p=-1 and q=-20