Translate the following inference to logic notation: For all x, y is excited if and only if y will play tennis. If Jennifer plays tennis, then Mary is poor. If Mary were poor, then Jennifer is excited. Therefore if Mary were poor, then Jennifer is playing tennis.
forall x: P(x) <-> Q(x). Q(a) -> p. p -> P(a). Therefore p -> Q(a).