a = b +cp
We have to get p by itself to solve for it.
Start by subtracting b from both sides
a - b = cp
Then we can divide both sides by c to get p
p = (a-b)/c