Let A and B be the positions of the two flag posts and P(x, y) be the position of the man.
Accordingly, PA + PB = 10.
We know that if a point moves in a plane in such a way that the sum of its distances from two fixed points is constant, then the path is an ellipse and this constant value is equal to the length of the major axis of the ellipse.Therefore, the path described by the man is an ellipse where the length of the major axis is 10 m, while points A and B are the foci. Taking the origin of the coordinate plane as the centre of the ellipse, while taking the major axis along the x-axis, the ellipse can be diagrammatically represented as

The equation of the ellipse will be of the form X2/a2 + Y2/b2=1 , where a is the semi-major axis
Accordingly, 2a = 10 ⇒ a = 5
Distance between the foci (2c) = 8 ⇒ c = 4
