What is the equation of the ellipse whose distance between the foci is equal to 8 and the distance between the directrix is 18?