Victoria is a songwriter who collects royalties on her songs whenever they are played in a commercial or a movie. Victoria will earn $40 every time one of her songs is played in a commercial and she will earn $140 every time one of her songs is played in a movie. Victoria earned a total of $560 in royalties on 9 commercials and movies. Graphically solve a system of equations in order to determine the number of commercials,
x
,
x, and the number of movies,
y
,
y, on which Victoria's songs were played.