Construct a triangle knowing a side, the perimeter, and the area (construct the figure formed by the inscribed circle and an escribed circle). Among all triangles with a given side and given area, which has the smallest perimeter? Among all triangles with a given side and given perimeter, which has the largest area?