The volume of a square pyramid is
Where a is the length of each base side.
First, we have to find a using the perimeter.
Then, we find h using Pythagorean's Theorem,
Where c = 25in, b = 7in, and a represents the height h
Now, we find the volume
Hence, the volume of the square pyramid is 1,568 cubic inches.