Explanation:

As per the image, in the beginning, Ram is facing in the direction OP. On turning 45 degrees clockwise, he is facing the direction OQ. Now again he moves 180 degrees clockwise and faces the direction OS. From this point, he turns 45 degrees anticlockwise. At this point, he is facing OR, which is the south direction.