2 answers
(click or scroll down)
what compound statement?
If you mean "Michael plays football and Jim does not", then that would be
q ^ ~p
But there are lots of other possibilities