I assume that communication is being set up. SO, their is no value of ssthreshold set up. So, we need to increase exponentially(or linearly in avoidance phase) till we get timeout.
We start with 1 MSS
1 MSS
2 MSS
4 MSS
8 MSS - 16KB
16MSS - 32KB
Now, this will create timeout So, ssthreshold = 24/2 = 12KB = 6MSS
Note: Here, they have given receiver window and it has nothing to do with congestion window. Just assumed that 24KB is also congestion window.
1MSS
2MSS
4MSS
5MSS
6MSS
7MSS
8MSS
9MSS
10MSS
11MSS
12MSS
So, 15 RTTs