If cos A + cos B = 1/2 and sin A + sin B = 1/4, prove that: tan (A + B)/2 = 1/2