Given a triangle, inscribe a rectangle around it such that the perimeter of the rectangle is provided. (One vertex of the rectangle coincides with one vertex of the triangle; the sides opposite this vertex pass through the other two vertices of the triangle.)