Translate the following inference to logic notation: For all x, if x_7 listens to a song, then x_7 is an astronaut. For all x, if x_7 were a writer, then x_7 is an astronaut. For all x, x_7 will cook. For all x, x_7 will listen to a song or x_7 is a writer. Therefore Charles is an astronaut.
forall x: P(x) -> Q(x). forall x: R(x) -> Q(x). forall x: S(x). forall x: P(x) or R(x). Therefore Q(a).