Answer:the equations are
x + y = 8
20x + 110y = 340
Explanation:
Let x represent the number of commercials on which Alexa's songs were played.
Let y represent the number of movies on which Alexa's songs were played.
The total number of movies and commercials on which Alexa earned is 8. It means that
x + y = 8 - - - - - - - - - - - -1
Alexa will earn $20 every time one of her songs is played in a commercial and $110 every time one of her songs is played in a movie. Alexa earned a total of $340 in royalties. This means that
20x + 110y = 340 - - - - - - - - - - - -2