For simplification, I've replaced P1 = a & P2 = b.
First: #1 = #2
we can divide by 2 to get:
which we will denote equation (1)
Second: #3 = #4
which we will denote equation (2)
Then we attempt to solve this linear system of equations by adding the two equations:
Then we can substitute this answer back into equation (1):