Essentially you want to get this into standard conic square format-- I don't know what it's officially called-- and you do that by completing the square on both the x and the y I guess you could call it sub-polynomial.