One month Keiko rented 5 movies and 3 video games for a total of 39. The next month she rented 2 movies and 12 video games for a total of 72. Find the rental cost for each movie and each video game.