Using the figure and the Pythagorean theorem, we can write two equations which both equal begin mathsize 12px style h squared colon space h squared equals b squared minus left parenthesis a minus x right parenthesis squared space a n d space h squared equals d squared minus x squared end style. Set them equal to each other and solve for \large d^2 .