As it is given that food is there for 54 days for 2000 students,
But after 15 days, remaining food was sufficient for 2000 students for 39 days only ( as 54-15 = 39 )
Let x number of students came in hostel after 15 days,
Total number of students after 15 days = 2000 + x
Remaining food was enough for (2000 + x) students for 20 days
So here is indirect proportion, as more people and less food
2000 : ( 2000 + x ) :: 20 : 39
2000 × 39 = ( 2000 + x ) × 20
3900 = 2000 + x
x = 3900 - 2000
x = 1900