Translate the following inference to logic notation: Jessica is poor. If Sarah were an electrician, then Patricia is a scientist. If Patricia were a scientist, then Sarah is an electrician. If Sarah were an electrician, then Jessica is not poor. Therefore Patricia is not a scientist.
p. q -> r. r -> q. q -> ~p. Therefore ~r.