Here's the answer:
“escrevi um livro há dois anos”
Watch a real native speaker say it:
Here's how it sounds in a textbook:
Fun fact: the hundreds of thousands of people learning Portuguese with Memrise get this phrase correct 91.04% of the time!
Fun fact: the hundreds of thousands of people learning Portuguese with Memrise get this phrase correct 91.04% of the time!