Concept for solving this question:
Stage Si is allocated to instruction Ii iff
1. Eligibility: Ii must have completed Si-1 ... X time
2. Availability: Ii-1 must have released Si ... Y time
Time of allocation = Max(X,Y)
In first iteration:
I1 completes after 5th cycle
I2 completes after 10th cycle
I3 completes after 13th cycle
I4 completes after 15th cycle
In second iteration
I1 completes after 16th cycle
I2 completes after 18th cycle
I3 completes after 21th cycle
I4 completes after 23th cycle
Answer : B