Show that when $f$ and $g$ provide income at rates $q_f$ and $q_g$, respectively, equation (28.15) becomes
$f_0=g_0 e^{\left(q_f-q_g\right) T} E_g\left(\frac{f_T}{g_T}\right)$
(Hint: Form new securities $f^*$ and $g^*$ that provide no income by assuming that all the income from $f$ is reinvested in $f$ and all the income in $g$ is reinvested in $g$.)