1) If Tom hadn't been ill, he would have passed the exam.
2) If someone hadn't stolen my wallet, I would have bought a present.
3) If my son had called me, I wouldn't have thought that something was wrong.
4) If I had had breakfast, I wouldn't have been hungry.
5) If I had had any need in money, I would have gone to the bank.