Python module _6 problem

I’m facing lot of difficulty to solving Module 6 problem .can you tell me atleast 1st and 2nd