according to data given in the question
Tt = size/B.W
=150/150x10^6 = 10 micro sec
Tp= distance/speed
=800/2x10^6= 4 micro sec
now time taken by X to transfer data from X to Y will be
1. Tt and Tp to load and send data (loading time Tt and sending time Tp) at time t=0 collision also got detected
2. It will wait 1 round trip time i.e 2Tp for retransmission of frame.
3. Now X=1 and X is ready to send the data it will only require Tp time to do so because data has already been loaded i.e time Tt is not required
now adding all we get
Tt + Tp + 2Tp +Tp = 10+4+8+4
Ans is 26 micro sec