Translate the following inference to logic notation: If Robert were an electrician, then Patricia is a poet. If Richard were rich, then it is cloudy. If it is cloudy, then Richard is rich. If Richard were rich, then Patricia is a poet. It is cloudy. Therefore Patricia is a poet.
p -> q. r -> s. s -> r. r -> q. s. Therefore q.