Use coordinates with X at (0, 0), east as +x and north as +y.
Path: X to (-450, 0), then to Y = (-450, -900), then to (0, -900), then up to (0, -450), then to Z = (450, -450).
The vector from Z to X is (0 - 450, 0 - (-450)) = (-450, +450): 450 m west and 450 m north, an exact north-west direction. So the home is north-west of the office, which is option (4).
Checking the others: Y from X is (-450, -900), mostly south, so it is south-south-west, not west-south-west (1) and certainly not north-east (2); X from Z is not south-east (3).
Answer: (4) John’s home is north-west of his office.