Do you have to solve a system? Or are the two equations totally independent of each other? (I think the first one)

In case you mean a sytem it can be useful to do a substitution, let and let (and ), solve the system for a and b and afterwards do the back-substitution.