The answer to this problem is 2 hours and 30 minutes, I'm just not sure how one would go about solving it.

On Conner's cellphone it costs 6 cents/min for a phone call, and 3 cents/min to play a game. Conner can spend 18$ on the phone bill.

A: Make an equation in standard form for the number of minutes that Connor can talk on the phone, t, and play games, g.

B: How long can Connor talk on the phone, in hours, if he plays video games for 5 hours?