Example 12 Find the equation of the ellipse