1) By the time we got to Brazil, we had already spent our money.
2) By the time the cinema ended, she had fallen asleep.
3) The first I (made) cake, than I (sit down) and (drink) white coffee - это предложение составлено неверно. Наверное, должно быть так
First I made cake, then I sat down and drank white coffee.