>>18
(3y-x+1)^2+x^2-4x+6=9y^2-6(x-1)y+2x^2-6x+7=9{y-((x-1)/3)}^2-(x-1)^2+2x^2-6x+7