How would you solve the following equation when x= -6

x=y^2-5y

Factor y^2-5y into y(y-5) and equate each of those to -6.

I hope this helps. Thanks for asking.