Length of wire =50 m (Given)
Let length of one piece for shape of square =x m
∴ Length of other piece for shape of circle
=(50−x)m
Now perimeter of square =4a=x
⇒a=x4
and circumference of circle =2πr=50−x
⇒r=50−x2π
Combined Area =a2+πr2
=x216+π⋅(50−x2π)2
=x216+π⋅(50−x)24π2
A=x216+(50−x)24π
Differentiating w.r. to x, we get
dAdx=2x16+2(50−x)(−1)4π
dAdx=x8+(x−50)2π
=πx+4x−2008π
=x(4+π)−2008π
For extremum, dAdx=0
∴x(4+π)−200=0
x=2004+π
d2Adx2>0
A is minimum at x=2004+π
∴ Length of square of square wire, x=2004+πm
and length of circle wire =50−x
=50−2004+π
=50π4+πm