If it's not what You are looking for type in the equation solver your own equation and let us solve it.
5p=3p-4
We move all terms to the left:
5p-(3p-4)=0
We get rid of parentheses
5p-3p+4=0
We add all the numbers together, and all the variables
2p+4=0
We move all terms containing p to the left, all other terms to the right
2p=-4
p=-4/2
p=-2