Translate the following inference to logic notation: If William plays squash, then Joseph is a lawyer. Linda is a politician if and only if Jessica is writing a letter. If Jessica writes a letter, then William is playing squash. Therefore if Linda were a politician, then Joseph is a lawyer.
p -> q. r <-> s. s -> p. Therefore r -> q.