Andrew’s math teacher entered the seventh-grade students in a math competition. There was an enrollment fee of $30 and also an $11 charge for each packet of 10 tests. The total cost was $151.a. How many tests were purchased?
b. Set up an equation to model this situation, solve it using if-then statements, and justify the reasons for each step in your solution.