Answer:
Number of songs played in commercial are 7 and Number of songs played in movie are 5.
Step-by-step 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,
[tex]x+y=12\ \ \ \ equation \ 1[/tex]
Also
Cost for songs played in commercial = $50
Cost for songs played in movie = $130
Total Money earned = $1000
Hence,
[tex]\$50x+\$130y=\$1000[/tex]
Dividing by 10 on both side we get;
[tex]\$5x+\$13y=\$100\ \ \ \ equation \ 2[/tex]
Now multiplying equation 1 by 5 we get;
[tex]5x+5y=60 \ \ \ \ equation \ 3[/tex]
Now Subtracting equation 3 from equation 2 we get;
[tex](5x+13y=100)- (5x+5y=60)\\8y=40\\y=\frac{40}{8}=5[/tex]
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.