Pls give me full solution for my understanding