We will assume that the trains pass by his house following a uniformdistribution with values between 0 and 24. The probability of a train passing on a 9-hour time period is 9/24 = 3/8 = 0.375. Lets call Y the amount of trains passing by his house during that 9-hour period. Y follows a Binomaildistribution with parameters 22 and 0.375.