$$P = \frac { a + e } { r }$$
$P=\frac{a+e}{r}$
$r\neq 0$
$a=Pr-e$
$r\neq 0$