They own a total of 120 CDs. Ella's CD is 40 while Paolo's CD is 80.
Given:
Ella's ratio of rock music to total CDs = 25/40
Paolo's ratio of rock music to total CDs = 50/x
25/40 = 50/x
25x = 40*50
25x = 2000
25x/25 = 2000/25
x = 80
Total CDs
Ella = 40
Paolo = 80
Total CDs = 120