solution for first exam 3777970