You can put this solution on YOUR website! You can find the "altitude" of one of the slant triangles, and call this L. The slant triangle is an isosceles triangle.
The altitude of the pyramid is what you want next. A right triangle crossing through the pyramid altitude and a slant-altitude. Pythagorean Theorem formula again.
According to the figure,
You can substitute there for L^2 as found earlier, although was not simplified there; , and THIS you can now simplify and compute.