In CSMA/CD, the transmitting node is listening for collisions while it transmits it's frame. Once it has finished transmitting the final bit without hearing a collision, it assumes that the transmission was successful. In this worst-case collision scenario, the time that it takes for a Node to detect that its frame has been collided with is twice the propagation delay. Hence to confirm that the collision has not occurred the condition for the minimum size of the packet is:
RTT = 2 * Propagation Time
Transmission Time = Length of packet / Bandwidth
RTT = 2 (d/v) = 2(2000/2×108)
Therefore to find minimum size of the packet,
RTT <= Length of packet / Bandwidth
Length of packet >= RTT x Bandwidth
= 2(2000/2×108) x 107 = 200bits = 25bytes
Therefore, minimum size of the packet = 25bytes