Translate the following inference to logic notation: For all x, if z cooks, then z is an astronaut. For all x, z will cook or z will not drink water. For all x, if z were an astronaut, then z is cooking. Therefore for all x, if z drinks water, then z is an astronaut.
forall x: P(x) -> Q(x). forall x: P(x) or ~R(x). forall x: Q(x) -> P(x). Therefore forall x: R(x) -> Q(x).