you're trying to solve:
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:
whether that gives you the same answers I don't know, maybe I have misunderstood your question.