The tree, the ground and Kali's ladder form a triangle whose hypotenuse is the ladder, base the ground, and perpendicular the tree. Thus from Pythagorean theorem:
That is because you would dividing the number of boys over number of girls riding bikes. 45/125. Then in simplest form, the fraction will be 9/25, meaning in ratio it is 9:25