Now, let's solve for p:
5p + 7 = 3p - 5
First, subtract 3p from both sides:
5p - 3p + 7 = -5
This simplifies to:
2p + 7 = -5
Now, subtract 7 from both sides:
2p = -5 - 7
2p = -12
Finally, divide by 2 to isolate p:
p = -12 / 2
p = -6
So, the value of p is -6.