You have 8 moving boxes that you can use to pack for college. Each box can hold 15 pounds of clothing or 60 pounds of books. Let c be the number of boxes that contain clothing.

Write a function that gives the total pounds T of the boxes in terms of the number of boxes that contain clothing.

Nothing was said about how many boxes hold books. If you use all the boxes, then

T = 15c + 60(8-c) for 0 ≤ c ≤ 8