Please write down the math of whats happening here.