at a fourth of july barbecue, mr. adams cooked 3 times as many cheeseburgers as hamburgers. if he cooked a total of 72 burgers, how many of each did he make?