gaokao 2020 Q6

gaokao · China · shanghai 4 marks Measures of Location and Spread
Given that the median of $a, b, 1, 2$ is 3 and the mean is 4, find $ab =$ $\_\_\_\_$
Given that the median of $a, b, 1, 2$ is 3 and the mean is 4, find $ab =$ $\_\_\_\_$