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.