Q9 of quiz, to calculate the depth

not able to get how is the depth 8