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