The Tran family is bringing 15 packages of cheese to a group picnic. Cheese slices cost $ 2.50 per package. Cheese cubes cost $ 1.75 per package. The Tran family spent a total of $ 30 on cheese. How many packages of each type of cheese did the Tran family buy?