Find the value of \(x\) if the median of observations 9, 12, 16, \(x+10\), 24, 26,  29,  32 arranged in ascending order is 21.5.
 
The value of \(x =\) .