Step-by-step explanation:
Let the cost of one movie be x
Let the cost of one video game be y
The first month, he rented 3 movies and 5 video games for $35
Mathematically
3*x + 5*y = 35
3x + 5y = 35 --- equation 1
The 12th month, he rented 12 movies and 2 video games for $41
12*x + 2*y = 41
12x + 2y = 41 -------- equation 2
The linear system of equation can be solve simultaneously
3x + 5y = 35
12x + 2y = 41
Eliminate y by multiplying equation 1 by 2 and equation 2 by 5
3x*2 + 5