6th question from trees quiz not able to solve

please give me solution for question no.6