Translate the following inference to logic notation: If Robert works, then Michael is an artist. For all x, x_16 is a cashier if and only if x_16 is happy. For all x, if x_16 were happy, then x_16 is working. For all x, if x_16 were a taxi driver, then x_16 is a cashier. Therefore if Robert were a taxi driver, then Michael is an artist.
P(a) -> p. forall x: Q(x) <-> R(x). forall x: R(x) -> P(x). forall x: S(x) -> Q(x). Therefore S(a) -> p.