The foci are on x-axis equidistant from origin. That means the axes of ellipse are coordinate axes and the centre of ellipse is (0,0)
The equation of such ellipse is
x2 /a2 + y2 /b2 = 1
a is semi major axis and b is semi minor axis
We know that its foci are given by (+-ae, 0)
e is eccentricity = √ 1 - b2/a2
-
ae = 3
a2 e2 = 9
a2 (1 - b2 /a2) = 9
a2 - b2 = 9
a2 = 9 + b2
-
the ellipse passes through (4,1)
42 / a2 + 11 / b2 = 1
16/a2 + 1/b2 = 1
16 b2 + a2 = a2 b2
16b2 + 9 + b2 = (9 + b2) b2
17 b2 + 9 = 9b2 + b4
b4 - 8b2 - 9 = 0
(b2 + 1)(b2 - 9) = 0
b2 - 9 = 0 is acceptable
b2 = 9
a2 = 9 + b2 = 18
-
Thus the equation of our ellipse is
x2 /18 + y2 /9 = 1
or
x2 + 2y2 = 18