It is known that the distances from P1 (a-1,5), P2 (2, B-1) to X-axis are equal, and p1p2 is parallel to Y-axis to calculate the value of (a + b) to the power of 2012

It is known that the distances from P1 (a-1,5), P2 (2, B-1) to X-axis are equal, and p1p2 is parallel to Y-axis to calculate the value of (a + b) to the power of 2012

According to the meaning of the title:
a=3,b=-4;
So (a + b) to the power of 2012 = (3-4) to the power of 2012
=(- 1) power 2012
=1