step 1
Find out the toral surface area
Remember that
The total surface area is the area of all faces of the figure
In this problem
The figure has six rectangular faces
SA=2(5)(7)+2(5)(1)+2(1)(7)
SA=70+10+14
SA=94 mm2
step 2
Find out the lateral area
I will assume that the base of the figure is a rectangle with dimensions 5mm x 7 mm
so
the lateral area is the area of four rectangular faces (without the two faces of the base)
LA=2(5)(1)+2(1)(7)
La-10+14
LA=24 mm2