Translate the following inference to logic notation: If Linda cooks, then Jessica is working. If James takes a plane, then Thomas is an artist. If Thomas were an artist, then Linda is cooking. Therefore if James takes a plane, then Jessica is working.
p -> q. r -> s. s -> p. Therefore r -> q.