Translate the following inference to logic notation: For all x, x_16 is an electrician. For all x, x_16 will play squash or x_16 is sad. For all x, if x_16 plays squash, then x_16 is a lawyer. For all x, if x_16 were sad, then x_16 is a lawyer. Therefore Richard is a lawyer or John is playing tennis.
forall x: P(x). forall x: Q(x) or R(x). forall x: Q(x) -> S(x). forall x: R(x) -> S(x). Therefore S(a) or p.