p-6p+7=3(2p-3)-4(-10+4p
We move all terms to the left:
p-6p+7-(3(2p-3)-4(-10+4p)=0
We add all the numbers together, and all the variables
p-6p-(3(2p-3)-4(4p-10)+7=0
We add all the numbers together, and all the variables
-5p-(3(2p-3)-4(4p-10)+7=0