A square prism has a base length of 5 m, and a square pyramid of the same height also has a base length of 5 m. Are the volume the same?