A single observation of a random variable having an exponential distribution is used to test the null hypothesis that the mean of the distribution is θ = 2 against the alternative that it is θ = 5. If the null hypothesis is accepted if and only if the observed value of the random variable is less than 3, find the probabilities of type I and type II errors.