Cost of 1 video game is $ 5 and cost of 1 movie is $ 4.5
Solution:
Let "m" be the cost of 1 movie
Let "v" be the cost of 1 video game
John rented 8 movies and 3 video games totaling $51
Therefore, we can frame a equation as:
8 x cost of 1 movie + 3 x cost of 1 video game = 51

8m + 3v = 51 ------- eqn 1
Another month He rented 2 movies and 5 video games totalling $34
Therefore, we can frame a equation as:
2 x cost of 1 movie + 5 x cost of 1 video game = 34

2m + 5v = 34 ---------- eqn 2
Let us solve eqn 1 and eqn 2
Multiply eqn 2 by 4
8m + 20v = 136 ------- eqn 3
Subtract eqn 1 from eqn 3
8m + 20v = 136
8m + 3v = 51
( - ) -------------------
17v = 136 - 51
17v = 85
v = 5
Substitute v = 5 in eqn 1
8m + 3(5) = 51
8m + 15 = 51
8m = 36
m = 4.5
Thus cost of 1 video game is $ 5 and cost of 1 movie is $ 4.5