Math exercise 7.1 solution