Translate the following inference to logic notation: For all x, if z reads a book, then z is listening to a song. For all x, z will read a book or z is not a sailor. Barbara is not listening to a song. For all x, if z listens to a song, then z is a sailor. Therefore Barbara is not a sailor.
forall x: P(x) -> Q(x). forall x: P(x) or ~R(x). ~Q(a). forall x: Q(x) -> R(x). Therefore ~R(a).