1.
If he were in, he would answer the
phone.
2.
He would have been the best
pupil in the class if he had worked harder.
3.
If you had passed) your examination,
we would have a celebration.
4.
I wouldn't have gone there if I were you.
5.
If he knew that it was dangerous
he would not have come.