Translate the following inference to logic notation: If Linda plays tennis, then it is cloudy. If it is cloudy, then Jessica is playing squash. Jessica is playing squash if and only if Linda is playing tennis. Therefore Linda is playing tennis if and only if Jessica is playing squash.
p -> q. q -> r. r <-> p. Therefore p <-> r.