I got you!
Since you dont know how many individual songs he wrote, we will represent that as x. Now, to find the total amount spent on buying "x" individual songs, you would have to multiply that by the 1.29$ it costs. Therefore, with the inclusion of the 9.99$ from the album, your equation is:
50 = 1.29x + 9.99