Solve P-5Q/3=(P+7)/2+1 for P
P-5Q/3=(P+7)/2+1
........
click here to see the solving for P
P = (10/3)Q + 9