Math class solving story problems