Answer:
Number of songs played in commercial are 7 and Number of songs played in movie are 5.
Explanation:
Let Number of songs played in commercial be x
and Number of songs played in movie be y.
Total number of songs played =12
Hence,
![x+y=12\ \ \ \ equation \ 1](https://img.qammunity.org/2020/formulas/mathematics/middle-school/4vvrx0u3ukbrlsuknaameetij3kfl1xecd.png)
Also
Cost for songs played in commercial = $50
Cost for songs played in movie = $130
Total Money earned = $1000
Hence,
![\$50x+\$130y=\$1000](https://img.qammunity.org/2020/formulas/mathematics/middle-school/yeqvjijmh2ntjmscu3f8ogiifmu4ea86e4.png)
Dividing by 10 on both side we get;
![\$5x+\$13y=\$100\ \ \ \ equation \ 2](https://img.qammunity.org/2020/formulas/mathematics/middle-school/yixlgmasbqkyufmqxilktk7bcn4b3feg7b.png)
Now multiplying equation 1 by 5 we get;
![5x+5y=60 \ \ \ \ equation \ 3](https://img.qammunity.org/2020/formulas/mathematics/middle-school/dmvg4apoohgxig3hzcqynumlgg9024mwvs.png)
Now Subtracting equation 3 from equation 2 we get;
![(5x+13y=100)- (5x+5y=60)\\8y=40\\y=(40)/(8)=5](https://img.qammunity.org/2020/formulas/mathematics/middle-school/l9nf7wmj6400ppv6zsy9dv4wzg8u0cx5tg.png)
y = 5
x + y = 12
x + 5 = 12
x = 12 - 5
x = 7
Hence, Number of songs played in commercial are 7 and Number of songs played in movie are 5.