Answer:
The value of x would be 16.
Step-by-step explanation:
In a data,
Median : middle value of the data when the data is written is ascending order.
While,
[tex]\text{Average}=\frac{\text{Sum of all observations}}{\text{Number of the observations}}[/tex]
Here, the given data is,
4, 5, 6, 8, 10, and x
So, median = = = 7.
Number of the observations = 6,
Sum of the observations = 4+ 5+6+8+10+x = 33 + x
Thus,
Average = [tex]\frac{33+x}{6}[/tex]
According to the question,
[tex] \frac{33+x}{7}=7[/tex]
[tex]33+x=49[/tex]
[tex]x=49-33[/tex]
[tex]x=16[/tex]
Therefore, the value of x would be 16.