You are going discount shopping for some new sweaters, T-shirts, and pants. Sweaters (s) cost $5, T-shirts (t) cost $8, and pants (p) cost $2. What algebraic expression models the total cost of clothes that you buy?

Suppose you bought 24 sweaters, 6 T-shirts, and 17 pairs of pants. How much did you spend?