At the beginning of the month the song on his streaming service already had 1000 lessons and was getting 38 new lessons each day. Meanwhile, a different song already had 900 listens and was getting 40 new listens each day write an equation to show the number of days it would take for the two songs to have the same number of listen. Use X as your variable.

Let y be the total number of lessons for the first song after X days, and let z be the total number of listens for the second song after X days.

The equation for the first song would be:
y = 1000 + 38X

The equation for the second song would be:
z = 900 + 40X

To find out when the two songs will have the same number of listens, we set y equal to z:
1000 + 38X = 900 + 40X

Rearranging the equation to solve for X:
38X - 40X = 900 - 1000
-2X = -100
X = 50

Therefore, it will take 50 days for the two songs to have the same number of listens.