Question 1058743
P = J+12
P+2 = 3(J+2) 
There are your two equations. Distribute the 3 over the terms inside the parenthesis on the right, substitute for P on the left, and apply algebra to solve. Alwas do to one side what you do to the other.