Sorry, but we can't help you. Not in general. You can rearrange all you want but, in general, you're going to end up with some high degree polynomial in one variable for which there are no general methods of solution (you can do up to degree 4 easily, degree 5 with a bit of ingenuity, but beyond that you're hoping for luck). I mean of course some nice exact algebraic solution. You could do it numerically and get approximate answers.
You can get various constraints on the solutions (are they integers etc) but the methods would be ad hoc.
Sorry, but that's what maths looks like in real life.