Translate the following inference to logic notation: For all x, if y were an artist, then y is cooking. For all x, y will play squash if and only if y will cook. For all x, if y plays squash, then y is an artist. Therefore for all x, if y cooks, then y is playing squash.
forall x: P(x) -> Q(x). forall x: R(x) <-> Q(x). forall x: R(x) -> P(x). Therefore forall x: Q(x) -> R(x).