1 If you had told me you were hungry, I would have bought you a sandwich.
2 If I had gone to the cinema, I would have met you.
3 If Lorna hadn't switched on the TV, she wouldn't have seen the news.
4 If Rob’s computer hadn't had a virus, he would have read the email.