Type I:
To complete 2.5 km in 100 days, we need 45 men
To complete 12.5 km (leftover road) in 100 days, we need 45 x 12.5/2.5 men (It will be 12.5/2.5 and not 2.5/12.5 because more work will need more men. So we have to make 45 greater. Direct variation.) = 225 men
To complete 12.5 km in 100 days we need 225 men.
To complete 12.5 km in 200 days (this is the number of leftover days), we need 225 x 100/200 (Now if we have more days for same work, we need less men so 100/200 to make 225 smaller. Inverse Variation) = 112.5 men i.e. 113 men (112 men cannot finish the work. Even if this was 112.3, I would have made it 113)
We already have 45 men, we need 68 more.
Note: I could have done the above in a single step by saying 45 x 12.5/2.5 x 100/200 = 112.5
I used two steps to clarify.
Type II:
If we are given how much they were paid, we know the ratio of their rate of work. It will be the ratio in which they were paid. This is so because if you are twice as fast as me, you will be paid twice as much as me.
Ratio of rate of work = 54:81 = 2:3
Then, ratio of time taken will be 3:2 (Ratio of rate of work is inverse of ratio of time taken. If this is unclear, just check out work theory)
Then, B can do the work in 8 days.
Together, they will take 8 x 12/ (8 + 12) = 4.8 days
Type III:
Let me say that the amount of food one soldier consumes in one day is 1 soldier-day food.
Total amount of food was 200 x 31 soldier-days = 6200 soldier-days
In 27 days, 200 soldiers consumed the food which is equal to 27 x 200 = 5400 soldier-days.
Left over food = 800 soldier-days
Now 800 soldier-days food will last 80 soldiers 10 days. Since 27 days are already over, it would have lasted only 4 more days but now it is going to last 10 days so it will last an extra 6 days.