How can I understand the step by step calculations for the formula from the blog below?

80 Views Asked by At

I am studying clustering and found a useful article on the blog post here Finding the K in K-Means. But I am having difficulty in understanding the formulas below and how I can do step by step calculations. I hope somebody can help me out with this. My apologies if I have place my post in the wrong places here.

enter image description here