Solve for x xy^2+x^2y-6x-3=0