the Given that the distance from mall to home is 1000 m.
The distance from home to the library is 1200 m.
So the total displacement is 1000 +1200 = 2200 m.
The displacement is from the library to the mall, so the displacement is towards the west.
So the displacement is 2200 m towards west.