we make a equation depending of the days
Where T is the total of pencils
In this equation we are going to subtract 50 pencils for each day from the original 2000
to know the days where are 950 pencils we replace the total by 950 and solve d
the number of days is 21