2nd assg. me 7th question

help assigment 2nd me 7th question kaise hoga