Slim has $6 to spend on hamburgers and colas. Hamburgers cost 80 cents each and colas cost 50 cents each. If he buys 5 hamburgers, how many colas can he buy?

80*5 + 50x = 600

5*80 + 50c = 600

solve for c