Number of pencils in stock = 1200.
Average number of pencils sold by the manager per day = 24.
Number of pencils that would be sold before reordering is 1200-500 = 700.
Then the number of days after which the manager will reorder is 700/24 = 29.16.
So the manager has to reorder after about 30 days.