Constructing a triangular prism from its net