Automatic Differentiation

I am a newbie. I started this book a little while ago. I understood everything up to the point of Automatic Differentiation. http://d2l.ai/chapter_preliminaries/autograd.html

Can Someone give me a step by step guide for me to understand this topic? I am lost on the codes too