Find the equation to the ellipse (referred to its axes as the axes of x and y respectively) which passes through the point(-3,1) and has eccentricity √25.