The Stokes flow in a rectangular cavity with two opposite fixed and two opposite moving walls and a (rotating) cylinder in the centre is investigated. This flow is used as a prototype flow for studying distributive mixing. A general analytical method of superposition is implemented. The method is illustrated with several examples of steady flow and the topology of the streamlines is discussed. Some typical examples of laminar mixing under periodic wall motion are examined.