please explain me what\'s happening in this code. How is the math working here? Explain me the 2nd last line. Click on this text to view the image.