The length of the professor's classes is uniformly distributed with a minimum length of a=50.0min and a maximum length of b=52.0min.
To determine the asked probability you have to work using the cumulative distribution function which can be defined for this distribution as follows:
To determine the probability included between the values 51.9min and 50.9min, you have to calculate the difference between the accumulated probabilities until the right bond of the interval, 51.9min, and the accumulated probabilities until the left bond of the interval, 50.9min.
The probability that the length of a class chosen at random is between 50.9min and 51.9min is 0.5.