A draw bridge is 160 feet long. The two sections of the bridge can be lifted upward to an angle of 40 degrees. If the water is 20 feet below the bridge, find the distance d between the end of a section and the water level when the bridge is fully open.