David was asked by his teacher to add 5 to a certain number and then multiply the result by 2. Instead, he multiplied the number by 5 and then added 2, giving an answer of 72. What would his answer have been had he worked the problem correctly?
30
34
38
42
46