To conduct a hypothesis test for the above situation. We define the null hypothesis and the alternative hypothesis.
The null hypothesis is the claim that the average commute time to downtown is 20 minutes while the alternative hypotheis is a contradiction of the null hypothesis which is that the
average commute time to downtown is not 20 minutes.
i.e. H0: μ = 20 and H1: μ ≠ 20.
The z-statistics is given by (sample mean - hypothesized mean) divided by (standard deviation divided by the square root of the sample size).
i.e.

Therefore, The z-statistic is 3.32, so the null hypothesis should be rejected. Because the calculated value of z (3.32) is greater than the table value of z (1.96).
*The table value of z is the z (alpha / 2) of the significant level.