Let the middle point of the ladder be (X, Y). Using the midpoint formula, X = (x+0)/2 = x/2 and Y = (0+y)/2 = y/2. So, x = 2X and y = 2Y.