Hint 1
Let's call the point where the policeman realises he needs to buy flowers X. The outgoing and return journeys can then be shown as: home → X → flower shop → hospital hospital→ home
Try drawing this route, taking care with the position of the flower shop.
