Translate the following inference to logic notation: For all x, x_9 is excited if and only if x_9 is happy. If David were happy, then David is excited. Therefore if David were excited, then David is happy.
forall x: P(x) <-> Q(x). Q(a) -> P(a). Therefore P(a) -> Q(a).