IF HE HAD BEEN WELL-PREPARED, HE WOULD HAVE DONE WELL IN THE EXAM

2. If he had been well-prepared, he would have done well in the exam.