For 2 random variables A and B:

Which means in this case the mean time from the scheduled end of class until he can get to his test is 3+4 = 7 minutes.

The variance of this time is minutes, so the standard deviation is minutes

You can use a calculating utility to solve the problem now, or convert to Z values and look up the probability in the standard normal distribution table.