I have the answers to this question but as I am looking through my notes I am confused at how my professor got the answers. If someone could explain it to me would really help me out -- Thankyou

the Problem is x3-36x=16(x-6)

So far I have :

x(x2-36)=16(x-6)

x(x-6)(x+6)=16(x-6)

and I get confused on what to do next ....