One month Omar rented 3 movies and 5 video games for a total of $39. The next month he rented 9 movies and 7 video games for a total of $63. Find the rental cost for each movie and each video game. ​