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,

Also
Cost for songs played in commercial = $50
Cost for songs played in movie = $130
Total Money earned = $1000
Hence,

Dividing by 10 on both side we get;

Now multiplying equation 1 by 5 we get;

Now Subtracting equation 3 from equation 2 we get;

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.