Q) A wire of length 20 m is to be cut into two pieces. One of the pieces is to be made into a square and the other into a regular hexagon. Then the length of the side (in meters) of the hexagon, so that the combined area of the square and the hexagon is minimum, is:
The way I tried solve is taking $x$ length of wire to make the square which means $20-x$ is the perimeter of the hexagon.
So, For The sum of Areas $=$ Minimum
$$\frac d{dx} \left[\left(\frac{x}{4}\right)^2 + \frac{3√3}{2} \left(\frac{20-x}{6}\right)^2\right] = 0$$
From this we get $x = -(40√3 +80) $
And if we put $x$ in $\frac{20-x}6$, we get $\frac{50+20\sqrt3}3$
Which isn't even in the options and, I'm unable to detect my mistake here, any help would be much appreciated.
The other is taking $4a + 6b =20$
Which gives the correct value of $b$ which is $\frac{10}{3+2\sqrt3} $