One month jenny rented 3 movies and 5 video games for a total of $40. The next month she rented 12 movies and 2 video games for a total of $43. Find the rental cost for each movie and each video game.