-6x-2x= 40
-8x=40
X= 40/-8
X= -5
Sort the numbers in ascending or descending order, then eliminate the greatest and least numbers until you're left with the middle two. The median is the average of the last two numbers.
For example, the median for the set
is 3 because the middle two numbers are 2 and 4, and their average is
.