Solution:
The given observations are 24, 25, 26, x + 2, x + 3, 30, 31, 34.Median = 27.5
Here, n = 8
Median =
Median =
Median =
Here the 4th term is x + 2 and 5th term is x + 3.
That is
Therefore, the value of x is 25.
Hence, the correct option is 2.