completed hw5 q1