The office is east of the garden. The bedroom is south of the kitchen. The kitchen is east of the hallway. The hallway is east of the bathroom. The garden is south of the hallway.
You go from the garden to the kitchen by heading e,n.