what is lateral and total surface area?

What does "B" stand for?
What does "P" stand for?
What does "H" stand for?

Assuming that you are working with a rectangular solid (with 6 surfaces — top, bottom and four sides) the total surface area would include the surface area of all six sides. It is very likely that the "lateral" surface area is the area of the four sides.

However, without more information about the specific problem, I cannot tell you what B, P or H mean. I would guess that H might refer to height.

I hope this helps. If not, please repost with more information. Thanks for asking.