When creating the formula for surface area of a triangular pyramid (SA=1/2ab+3(1/2lb)), what formula is being used?

The formula being used for the surface area of a triangular pyramid is the formula for the combined surface area of the triangular base and the three triangular faces.