If sin(A-B) = 1/2 and cos(A+B) = 1/2