I tried my best or may be I tried it the wrong way as linear algebra is not the topic I know

I need to solve for p, q, and r in the following linear equation, where each of these variables represents a probability measure whose sum is 1

Thank you in advance