To solve for p, square both sides and move the equation to one side is equal to zero. Then factor. I chose -2 and -5 because -2 x -5 = 10 and -2 + -5 = -7. After factoring, solve p-5=0 and p-2=0. When one of those equals zero then the equation (p-5)(p-2)=0 is true.