When finding the surface area of a rectangular pyramid, what dimension will be used to find the height of the triangular sides

To find the height of the triangular sides of a rectangular pyramid, you will need to use the height of the pyramid itself. This is the vertical distance from the apex (top) of the pyramid to the base.