They are both in the back of the engine below the exhaust manifold. The T-stat is in a pipe below the pump.
WARNING It is necessary to relieve the spring pressure from 1 bolt prior to removing the 2nd bolt. If the spring pressure is not relieved, the exhaust pipe will twist and bind the bolt during removal.
WARNING DO NOT rotate the flex coupling more than 4 degrees or damage may occur.
NOTE: Allow the radiator outlet pipe hang.
Fig. 2: Exploded view of the water pump mounting and related components — 2.4L engine
NOTE: Lubricate the splines with clean grease