You are right! You can use the Pythagoras's theorem!
so there is a pyramid with a square base. The sides of the square base all measure 2m and the height if the pyramid is 05 metre. what is the length sides of the triangular pieces?
Since I have two measurements, 0.5 and 2 I am thinking I can use a^+b^2=c^2?