p = 1.8 or -2
Get the LCM of a and b which is ab then divide accordingly. You should get ((b-2a)/ab) / ((2b-a)/ab) then after cancelling ab on both sides, you remain with (b-2a) / (2b-a)
Answer is 1. Anything to power 0 is 1