You and your friend Charlie are playing a game. When you win once this game, you get $5. You also need to pay $10 when you play this game for an entire hour. So, your hourly earnings y in terms of the times you win the game x is y=5x-10.

a)What is the inverse function?

Y=

b)Determine how many times you win this game when your total earnings in an hour is $80 (keep your answers rounded to the nearest whole number).