Translate the following inference to logic notation: For all x, x_10 is a cashier if and only if x_10 is a soldier. For all x, x_10 is a cashier or x_10 is a writer. For all x, x_10 is a carpenter. For all x, if x_10 were a writer, then x_10 is a soldier. Therefore James is a carpenter.
forall x: P(x) <-> Q(x). forall x: P(x) or R(x). forall x: S(x). forall x: R(x) -> Q(x). Therefore S(a).