A wire of length 2 units is cut into two parts which are bent respectively to form a square of side $=x$ units and a circle of radius $=r$ units. If the sum of the areas of the square and the circle formed is minimum, then: $$(1) (4-π)x = πr$$
$$(2) x = 2r$$
$$(3) 2x = r$$
$$(4) 2x = (π + 4)r$$
(1), (2), (3), (4) all are the options
I tried using hit and trial and got the answer as option B however I would like to solve it in a formulic way.