to have finished
Era para eu ter terminado o trabalho ontem.
I was supposed to finish the work yesterday.
O Tom deve ter terminado de comer agora.
Tom must have finished eating now.
De qualquer forma, estou aliviado por o teste ter terminado.
Anyway, I’m relieved the test is over.
Estou feliz por ter terminado.
I'm happy to have finished.