Respuesta :

After completing / having completed the job assigned to him, Ravi left the city.

This is what you should write to correctly complete this sentence.