First u put the number in order of smallest to largest.
The median is the middle numbers and since there is a even number u add up the 2 middle numbers and divide by 2. The mean is the average so u add up all the numbers and divide by how ever many there are.