The major difference between distance and displacement is that distance is a scalar quantity while displacement is a vector quantity. Scalar quantities have magnitude without direction while vector quantities have both magnitude and direction.
The distance covered by Benjamina in both cases just refer to the difference in her position at each time without reference to the direction in which she changed her position.
Her displacement will clearly mention the direction in which she moved both when she walked to the front door of her apartment and when she walked to a friend's apartment.