please help me on problem 8 and 9 of my teacher created problem

Please Help Me On Problem 8 And 9 Of My Teacher Created Problem class=