A submarine is 304 m horizontally out from the shore and 126 m beneath the surface of the water. A laser beam is sent from the sub so that it strikes the surface of the water at a point 232 m from the shore. If the beam just strikes the top of a building standing directly at the water's edge, find the height of the building.