Translate the following inference to logic notation: For all x, if x_5 were a politician, then x_5 is cooking. For all x, if x_5 were a soldier, then x_5 is cooking. For all x, x_5 is a soldier and x_5 is rich. Therefore for all x, x_5 will cook.
forall x: P(x) -> Q(x). forall x: R(x) -> Q(x). forall x: R(x) and S(x). Therefore forall x: Q(x).