Mikayla bought five skirts at $x each. Three of the five skirts came with a matching top for an additional $9 each. Write and simplify an expression that represents the total cost of her purchase.
The gift bag from Claire Cosmetics includes 5 bottles of nail polish and 2 tubes of lip gloss. Use p to represent the cost of each bottle of nail polish and g to represent the cost of each tube of lip gloss. Write and simplify an expression that represents the total cost of 8 gift bags.