The height of a square based pyramid of equal edges is half of its base diagonal.
You should be able to figure out the volume as well as surface area of a square based pyramid once
you understand how to get the slant height and the height.
The best math program for middle school students