1) we had just heard the news when you rang.2) I had already thought of that before you suggested it.3) When I turned TV the programme had already started.4) she was hungry because she hadn't eaten anything all day.5) by the time I left school I had decided to become a musician.
Past Simple. She always preferred to open conversation herself.(она всегда предпочитала сама начинать разговор)He made an entry in his diary every night(каждый вечер он делал запись в дневнике)Past Perfect.By eleven Cathy has finished all the work(к одиннадцати Кэти закончила всю работу)He had read the book by 5 o'clock yesterday( он прочел книгу до пяти часов)