If for $x,y,z$ positive reals, $$x^2+y^2-\frac{x y}{2}=w^2+z^2+\frac{wz}{2}=36$$ and $$xz+yw=30$$ find maximum value of $(xy+zw)^2$.
By Cauchy-Schwarz Inequality, we get $$(x^2+w^2)(y^2+z^2) \geq (xy+zw)^2$$ The so by the equality case of cauchy Schwartz Inequality, we get maximum value of $(xy+zw)^2$ will be achieved when $$\frac{x}{y}=\frac{w}{z}=k$$ for some non zero real $k$. Using this we get $x=yk$ and $w=zk$ but for this, we get some really ugly equations that I'm unable to solve. Is there a better way out?
$$36=x^2+y^2-\frac{xy}{2}=\left(x-\frac{y}{4}\right)^2+\left(\frac{\sqrt{15}y}{4}\right)^2$$ and $$36=w^2+z^2-\frac{wz}{2}=\left(w+\frac{z}{4}\right)^2+\left(\frac{\sqrt{15}z}{4}\right)^2$$ Thus, there are $\alpha$ and $\beta$, for which $$x-\frac{y}{4}=6\cos\alpha,$$ $$\frac{\sqrt{15}y}{4}=6\sin\alpha,$$ $$w+\frac{z}{4}=6\cos\beta$$ and $$\frac{\sqrt{15}z}{4}=6\sin\beta.$$ Thus, $xz+wy=30$ gives $\sin(\alpha+\beta)=\frac{5\sqrt{15}}{24}$ and by C-S $$xy+zw=30\left(\frac{1}{\sqrt{15}}\sin(\alpha-\beta)+\cos(\alpha-\beta)\right)\leq$$ $$\leq30\sqrt{\left(\frac{1}{15}+1\right)(\sin^2(\alpha-\beta)+\cos^2(\alpha-\beta))}=\sqrt{960},$$ which gives $$(xy+wz)^2\leq960.$$ The equality occurs for $$\left(\frac{1}{\sqrt{15}},1\right)||(\sin(\alpha-\beta),\cos(\alpha-\beta)),$$ which says that $960$ is a maximal value.