I added a comment explaining my calculations for the final answer.