Let piece of wire used to make square be l m.
Then, circle is made out of (36−l) m.
Side of square =l4
⇒ Area of square =l242
Also, 2πr=36−l⇒r=36−l2π
⇒ Area of circle =π(36−l2π)2
Total area =l216+π(36−l2π)2=l216+(36−l)24π
dAdl=l8+2(36−l)(−1)4π=l8−36−l2π
d2Adl2=18+12π>0
For dAdl=0⇒l8−36−l2π=0⇒πl−4(36−l)8π=0
⇒(π+4)l−144=0⇒l=144π+4
Hence, the combined area is minimum when length of square is l=144π+4 m and that of circle is (36−l)=36ππ+4 m