Suppose a arrives at the dock at time x and b arrives at the dock at time y ... X and Y are evenly distributed in the field. First, 0 ≤ x and y ≤ 24.
Suppose a arrives first, x
Suppose b arrives first, y
Turn probability into area ratio. The probability is [(23 2+22 2)/2]/(24 2) =1013/152.