Answer:
4m
Explanation:
3m is the side length touching both triangles in the right picture, or the line directly left of the red line
4m is the side going up from the right angle, and the red line
5m is the diagonal line, which would be two lines to the left of the red line
6m is the height of the prism, or the line perpendicular to the red line