Let S be the focus of the ellipse and e be the eccentricity of the ellipse.
Consider that P(x,y) be any point on the ellipse, then by the definition of ellipse,
SP=e×PM
√(x−1)2+(y−0)2=1√2(x+y+1√12+12)
√(x−1)2+(y)2=12(x+y+1)
(x−1)2+(y)2=14(x+y+1)2
3x2+3y2−2xy−10x−2y+3=0
The required equation of ellipse is 3x2+3y2−2xy−10x−2y+3=0.