Translate the following inference to logic notation: For all x, if x_5 were sad, then x_5 is listening to a song. For all x, if x_5 listens to a song, then x_5 is an electrician. For all x, if x_5 were a police officer, then x_5 is sad. For all x, x_5 is not an electrician. Therefore for all x, x_5 is not a police officer.
forall x: P(x) -> Q(x). forall x: Q(x) -> R(x). forall x: S(x) -> P(x). forall x: ~R(x). Therefore forall x: ~S(x).