The surface area is equal to the sum of the areas of the triangles that form the red.
Area of a triangle:

The b is the base or the lenght of the triangle
h is the height
As the 4 triangles have the same measures, the surface area of the pyramid is:

Then, the surface area is 48 square inches