Derivation (semi major and minor axis from semi latus rectum and eccentricity)
Along the line through the two foci, $$ \begin{align*} 2a = \frac{r_0}{1-e} + \frac{r_0}{1+e} \implies r_0 = a(1-e^2). \end{align*} $$
Ellipse is the locus of points that has constant sum of distances to the two foci, so by symmetry, $$ \begin{align*} a^2 = b^2 + (ae)^2. \end{align*} $$