The Brainliest Answer!

This Is a Certified Answer

Certified answers contain reliable, trustworthy information vouched for by a hand-picked team of experts. Brainly has millions of high quality answers, all of them carefully moderated by our most trusted community members, but certified answers are the finest of the finest.
Here is my tip.. 

Choose something that is there so you can change it into another pronumeral... 
In this case (x-1)... Let us say it is equal to Y. Now rewrite the equation.. 


That is then answer I got.. BUT.. if the question was something more like... (note: same first step..) 

(x-1)x^2 - x(x-1) - 30(x-1) 
y x^2 - xy - 30y 
y(x^2 - x -30) 

Which is the same answer as you have... 
Best of luck and hope I helped...
2 4 2