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