A math instructor explains how to solve a financial equation.