What is the formula to solve for the slant height of the side triangles in the rectangular Pyramid?

The formula to solve for the slant height (l) of the side triangles in a rectangular pyramid is:

l = √(h² + (s/2)²)

where h is the height of the pyramid and s is the length of the base of one of the triangular faces.