Let's track the man’s direction step-by-step:
Step 1: Initial movement
He starts facing East and moves 5 km East.
Step 2: First turn
Turning right from East leads to South. He moves 4 km South.
Step 3: Second turn
Turning left from South leads to East again. He moves 5 km East.
Step 4: Final direction
After these moves, the man is facing East.