Let the lines (y−2)=m1(x−5) and (y+4)=m2(x−3)intersect at right angles at P (where m1 and m2 are parameters). If the locus of P is x2+y2+gx+fy+7=0,then the value of f+ g is ______.
Clearly, the locus of the point of intersection of lines is (x−5)(x−3)+(y−2)(y+4)=0or x2+y2−8x+2y+7=0Hence, f+g=−8+2=−6