$2[(\sin a-\cos a)^2+(\sin b-\cos b)^2]=A$ olsun.
$A=2[\sin^2 a-2\sin a\cos a+\cos^2 a+\sin^2 b-2\sin b\cos b+\cos^2 b]$
$=2[1-\sin2a+1-\sin2b]$
$=2[2-\sin(\frac{\pi}{6})-\sin(\frac{\pi}{4})]$
$=2[2-\frac{1}{2}-\frac{\sqrt{2}}{2}]$
$=3-\sqrt{2}$
cevap $=(3-\sqrt{2})(3+\sqrt{2})=7$