A square pyramid is made using a square and four triangles with dimensions as shown below.
What would be the height of the pyramid?
What if the square and triangles are like these?