Question 765382
if you want to solve for X...

QX-P+P=R+P

QX/Q=(R+P)/Q

X=(R+P)/Q

Otherwise...
What needs to be done is not clear to me from the given information please repost with a clear and complete question   :)