Six friends went to a baseball game.The price of the admission per person was $x.Three of the friends bought a hot dog for $3. Write and simplify an expression that represents the total cost.