Median deals with the middle number in a range.
the total frequency in the graph is 17...so the ninth number should be the median.
Hence answer is 6