r=d×s
the total ration is the product of the days and students.
total ration = 60*500 = 30000
in 12 days, the ration completed = 12*500 = 6000
remaining ration = 30000-6000 = 24000
additional students = 300
now, total students = 500+300 = 800
now, to find the number of days the remaining ration will last, we modify the above formula as
d=r÷s
d = 24000/800 = 30 days
the remaining ration will last 30 days