One point M on the deretrix is (0,1). From this point draw a perpendicular line to the diretrix. Let this line meet the ellipse at P (x,y). Let S be the focus.

According to the definition of the ellipse, SP/PM = e

Find SP and PM and substitute in the above equation and simplify to get the required equation of the ellipse.