Please help me answer this it is due tomorrow

Answer:
median = 9.5
range = 11
Step-by-step explanation:
mean = (sum of numbers)/(number of numbers)
(18 - x + x - 3 + x + x/2 + 5 + 4x - 10 + 2x - 1)/6 = 9
9 + 7x + x/2 = 54
7x + x/2 = 45
14x + x = 90
15x = 90
x = 6
Now we can write the 6 numbers.
12, 3, 6, 8, 14, 11
We write the numbers is increasing order.
3, 6, 8, 11, 12, 14
The median is the mean of the 2 middle numbers.
median = (8 + 11)/2 = 19/2 = 9.5
The range is the difference between the larges and smallest of the numbers.
range = 14 - 3 = 11