For a moderately skewed distribution, there is an empirical relationship between the mean, median, and mode, which is given by the formula:
\[ \text{Mode} = 3 \times \text{Median} - 2 \times \text{Mean} \]
We are given:
Mean = 6
Mode = 12
Plugging these values into the formula:
\[ 12 = 3 \times \text{Median} - 2 \times 6 \]
\[ 12 = 3 \times \text{Median} - 12 \]
\[ 12 + 12 = 3 \times \text{Median} \]
\[ 24 = 3 \times \text{Median} \]
\[ \text{Median} = \frac{24}{3} = 8 \]
So, the median is 8.