Helping Nancy and Esther with a math problem