Translate the following inference to logic notation: It is late or William is not sad. For all x, if x_10 makes tea, then x_10 is sad. Therefore if William makes tea, then it is late.
p or ~P(a). forall x: Q(x) -> P(x). Therefore Q(a) -> p.