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

The formula being used to calculate the surface area of a triangular pyramid is:

Surface Area (SA) = 12ab + 3(12lb)

where:
a = length of one side of the base triangle
b = length of another side of the base triangle
l = slant height of the pyramid