Translate the following inference to logic notation: James is listening to a song and Joseph is making tea. James is an electrician. Therefore James is an electrician and James is listening to a song.
p and q. r. Therefore r and p.