Each of the three friends orders a combo. If each drink is $2.50 and there are three drinks, that means the total cost of the pizza is $24. There are three combos, each with two slices of pizza, meaning there are six slices of pizza total. Then you divide 24 (the total cost of the pizza) by 6 (the total amount of slices), getting $4 per slice.