Translate the following inference to logic notation: For all x, if x_5 sleeps, then x_5 is playing squash. For all x, x_5 will drink water. For all x, if x_5 drinks water, then x_5 is sleeping. For all x, x_5 will write a letter. Therefore for all x, x_5 will play squash and x_5 will write a letter.
forall x: P(x) -> Q(x). forall x: R(x). forall x: R(x) -> P(x). forall x: S(x). Therefore forall x: Q(x) and S(x).