Dear Student,
The displacement of a body moving along a straight line is given by joining the starting point and ending point.
If a body is not reversing it's direction during it's motion in a straight line then Displacement is also given by Distance, as both are equal.
Be a little specific so that we can assist you better.
Regards