Suppose that a system consists of two distinguishable particles each with spin S=1/2 and is described by the Hamiltonian
H=−2a+b(S1,z+S2,z)B−2a−b(S1,z−S2,z)B+JS1⋅S2,
where a, b, and J are constants, and B represents the external magnetic field. Determine the energy eigenvalues.