If the average of a set of data 2, 3, x, 10 is 4, then the median of this set of data is 4

If the average of a set of data 2, 3, x, 10 is 4, then the median of this set of data is 4

(15+X)/4=4
X=1
1,2,3,10
The median was 2.5