In mathematics, a rational number is a number such as −3/7 that can be expressed as the quotient or fraction p/q of two integers, a numerator p and a non-zero denominator q
The distance between town X and Town Y is equal to the difference between the distance between Town X and Town Z and the distance from Town Y and Town Z. Mathematically
d (X-Y) = d (X-Z) - d(Y-Z)
Substituting,
d(X-Y) = 57 miles - 28 miles = 29 miles
Thus, the distance from Town X to Town Y is 29 miles.