You can use the following rules of inference:

 

(P Q) Q

 

Q (~P Q)

 

Therefore: (P Q) (~P Q)