How to calculate mean, median and mode - exam question