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

The formula being used is the formula for the surface area of a triangular pyramid, which is SA = 1/2 * base perimeter * slant height + base area.