Your math instructor (would have been) happy to give you a makeup examination (had you gone) and (explained) that your parents (had been) ill at the time.
would have been
had you gone
explained
had been
D