How do you find duration of bond?

Can you answer this question?