He _____ his exams if he’d learnt more.
wouldn’t failed
wouldn’t have failed
hadn’t failed
did not fail