Nolan is a songwriter who collects royalties on his songs whenever they are played in
a commercial or a movie. Nolan will earn $50 every time one of his songs is played in
a commercial and he will earn $100 every time one of his songs is played in a movie.
How much would Nolan earn if his songs were played in 10 commercials and 5
movies? How much would Nolan earn if his songs were played in x commercials and
y movies?