Quiz 6.6 calculating time