IQR = 2
It’s the middle number of the Q3 minus the middle number of Q1.
To find the 1st and 3rd Quartile you have to find the median of each set of numbers. First set would include 5,6,8,8,9. The median of this set would be 8.
Second set of numbers would be the rest so, 9,10,10,10,12. The median for this one would be 10.
So you would end up doing
IQR= Q3-Q1
IQR= 10-8
IQR= 2
Hope this helped!! :)