Your equation is 0.59x + 0.99(35-x) = 25.45
The total number of songs bought was 35 so a certain number are bought at 0.59 and is represented by x and the balance are 35 less that number, so 35 - x and cost 0.99
Now solve
0.59x + 34.65 - 0.99x = 25.45
-0.4x + 34.65 = 25.45
-0.4x = -9.2
x = 23
So 23 songs were bought at 0.59 and 35-23 = 12 songs bought at 0.99
All the best
Lori