Hi there!
a) If he had known that Alice was ill, he would have gone to see her.
b) I would have called you to tell you the good news if I had had your phone number.
c) We wouldn`t have come home from holidays if we hadn`t run out of money.
d) If she had been fitter, she would have won the race.
e) I would have passed the exam if I had studied more seriously.