You are facing towards the open door, turn slight right and move towards that door. Now move out of this room. You are facing towards the door, turn right and move towards the cupboard. You are facing towards the cupboard, which is your final destination.