We consider generalizations of a well known elementary problem. A wire of the fixed length is cut into two pieces, one piece is bent into a circle and the second one into a square. What dimensions of the circle and the square will minimize their total area?