Analytical formulae for source and sink flows in multiply connected domains