Translate the following inference to logic notation: For all x, x_5 will play tennis and x_9 is a lawyer. For all x, if x_5 plays tennis, then x_5 is an astronaut. Therefore Richard is an astronaut.
forall x: P(x) and Q(x). forall x: P(x) -> R(x). Therefore R(a).