thinking at a math exercise