distance d more than 18 KM = d > 18 0r 18 < d
distance d but not more than 23 KM = d ≤ 23
Mathematically; 18 < d ≤ 23