Explanation:
the range in this context means the length b of the validity interval of all items in the set. in other words : the distance or difference between the maximum and the minimum.
the prices of the bought items go from $2.40 (minimum) to $30 (maximum).
the length of that interval (= the range) is
30 - 2.40 = $27.60