We have been solving Mrs Muddle’s cake problem.