Let the height of the wall coping from the ground be y and the horizontal distance from the wall to the original foot of the pole be x. This gives y equal to (x plus a) times tan alpha and also y equal to x times tan beta. Equating the expressions gives x times tan beta equal to x times tan alpha plus a times tan alpha, meaning x equals a times tan alpha divided by (tan beta minus tan alpha). The vertical distance of the sill from the coping is the difference between the total height and the window height, giving a distance of a multiplied by the sine of alpha times sine of beta divided by the sine of (beta minus alpha). Using trigonometric product to sum identities, this result simplifies exactly to a multiplied by the cotangent of the quantity (alpha plus beta) divided by 2.