Collect like terms 12p+4q-5p-9q=
I will be happy to critique your thinking.
Start with the p's: 12p-5p
Then do the q's: 4q-9q
Then put the terms together.
As bobpursley said, we will be happy to check it for you.