Inscribing a rectangle of a given perimeter into a triangle

Information: Inscribing a rectangle of a given perimeter into a triangle