(sinx+sinb)^2 + (cosx+cosb)^2 = 2 + 2*cos(b-x)
(sinx+sinb)^2 = 1/2
==> (cosx+cosb)^2 = 3/2 + 2*cos(b-x)