Your mother took you shopping for some new games. She purchased video games and computer games. The video games cost $50 each and the computer games cost $30 each. If she bought 4 times as many computer games as video games, and she spent $510 on games for you, how many computer games and how many video games did she buy?

c = 4v

30v + 50c = 510
now solve as usual