If Mary and Tom put their money together they have £36. If Mary's money were halved and Tom's money doubled they would have £42. How much does each of them have?

M + T = 36,

M/2 + 2T =42, solve for M, T

M = 20 pounds - what Mary has

T = 16 pounds - what Tom has.