Translate the following inference to logic notation: For all x, if y writes a letter, then y is making tea. If Richard makes tea, then Linda is an astronaut. If Linda were an astronaut, then James is playing a game. James is not playing a game. Therefore Richard is not writing a letter.
forall x: P(x) -> Q(x). Q(a) -> p. p -> q. ~q. Therefore ~P(a).