Answer:
Variables
Let m = number of movies rented
Let g = number of video games rented
Given:
- cost of renting one movie = $2
- cost of renting one video game = $3
- total money spent = $13
- total rentals = 5
System of equations
m + g = 5
2m + 3g = 13
Solution
Rewrite m + g = 5 to make m the subject:
⇒ m = 5 - g
Substitute this equation into 2m + 3g = 13 and solve for g:
⇒ 2(5 - g) + 3g = 13
⇒ 10 - 2g + 3g = 13
⇒ 10 + g = 13
⇒ g = 3
Substitute found value of g into m = 5 - g and solve for m:
⇒ m = 5 - 3
⇒ m = 2
Therefore, 2 movies and 3 video games were rented.