A group of data 6,30 a, 9,10 the median of this group of data is 7, the average is 7

A group of data 6,30 a, 9,10 the median of this group of data is 7, the average is 7

We can calculate a = 8 and then x '= 6