Expand each of the following using the compound angle formulae:
(a) \(\cos \left(x-40^{\circ}\right)\)
(b) \(\sin \left(x-50^{\circ}\right)\)
(c) \(\cos (2 x+y)\)
(d) \(\sin \left(10^{\circ}+\mathrm{B}\right)\)
(e) \(\cos \left(60^{\circ}-\mathrm{A}\right)\)
(f) \(\sin \left(45^{\circ}-x\right)\)
(g) \(\sin (\mathrm{A}+\mathrm{A})\)
(h) \(\cos (\mathrm{A}+\mathrm{A})\)