Displacement is defined as the change in position of body from A(x=0) to C=(x=5) , while distance is the total path length (ABC) travelled by the body.
Displacement is vector quantity having both magnitude and direction, while distance is a scalar quantity. Also displacement is always less than distance, hence numerical ratio of displacement and distance travelled must be either one or less than one.