Use the technique illustrated in Example 8.5.4 to find all possible solutions for the problems
A gym purchased 2-pound weights and 5-pound weights for a total of 40 pounds of weights in all. What are the possibilities for the number of each kind of weight purchased by the gym if at least one of each kind of weight was purchased?