you're trying to solve:

right?

If so... I think you'll wanna factorise the right hand side of the equation to give:

and then divide both sides of the equation by:

to give:

whether that gives you the same answers I don't know, maybe I have misunderstood your question.