Step-by-step explanation:
simply add the length
10+21 = 31
distance is the distance travelled by an object
for displacement, its gonna be the length between the beginning point and end point which mean u need to substract 21 and 10.
so distance, u just need to add