Given $ 4x^2 +2y^2 =1 $ then find the maximum value of $ 4x+2y $
My thinking: I have taken $ x= \frac{sin{\theta}}{2} $ and $y=\frac{cos{\theta}}{\sqrt{2}}$ . Which satisfies the equation. After substitution I've got $4x+2y= 2\times sin{\theta} +\sqrt{2} \times cos{\theta} $ which has the critical point at $\theta=tan^-1{{\sqrt{2}}}$. So, which gives the maximum value is $\sqrt{6}$
Help me with the correct procedure. Thanks in advance.