One month Sam rented 2 movies and 5 video games for a total of 35. The next month he rented 8 movies and 3 video games for a total of 38. Find the rental cost for each movie and each video game.