TeX source:
\frac{g_x}{g_y}=\frac{M_x}{M_y} \left(\frac{r_y}{r_x}\right)^2