Simply use the quadratic formula {{{x = (-B +- sqrt( B^2-4AC ))/(2A) }}} to solve any equation of the form {{{Ax^2+Bx+C=0}}}. So for instance, the first equation {{{9x^2-9(a+b)x+2a^2+5ab+2ab^2=0}}} yields the values {{{A=9}}}, {{{B=-9(a+b)}}} and {{{C=2a^2+5ab+2ab^2}}}. Simply plug these values into the quadratic formula to solve for "x". Do the same for the second problem.