I have a cubic equation: $-x^3 + 7x^2 - 16x + 12 = 0.$
How they showed us to solve this quickly is to simplify the equation to $-(x - 2)^2 (x - 3) = 0$ and find the solutions this way.
My question is how to get to that form in a generic way.
I looked over at certain methods to get the solutions but they all seem to be taking too long and complicated.