Translate the following inference to logic notation: For all x, if x_10 listens to a song, then x_10 is playing a game. If it is sunny, then Robert is an artist. If Robert were an artist, then Mary is listening to a song. Therefore if it is sunny, then Mary is playing a game.
forall x: P(x) -> Q(x). p -> q. q -> P(a). Therefore p -> Q(a).