Answer
$r=\dfrac{ed}{1-e \cos \theta}$
Work Step by Step
The eccentricity is defined as:
$\dfrac{|PF|}{|Pl|}=e$ ...(1)
Here, we have $|PF|=r$ and $|Pl|=d-r \cos \alpha$
and $\alpha =\pi-\theta$
Thus, $|Pl|=d-r \cos \alpha=d-r\cos (\pi-\theta)$
This implies that $|Pl|=d+r \cos \theta$
Now, the equation (1) becomes:
$\dfrac{|PF|}{|Pl|}=e \implies \dfrac{r}{d+r \cos \theta}=e$
or, $r=ed+er \cos \theta$
This gives:
$r(1-e \cos \theta)=ed$
Hence, $r=\dfrac{ed}{1-e \cos \theta}$