Translate the following inference to logic notation: For all x, if x_6 were a sailor, then x_6 is cooking. For all x, x_6 is an office clerk or x_6 is a doctor. For all x, if x_6 cooks, then x_6 is an office clerk. For all x, x_6 is not a sailor. For all x, if x_6 were an office clerk, then x_6 is a sailor. Therefore for all x, x_6 is a doctor.
forall x: P(x) -> Q(x). forall x: R(x) or S(x). forall x: Q(x) -> R(x). forall x: ~P(x). forall x: R(x) -> P(x). Therefore forall x: S(x).