You can put this solution on YOUR website! Combine like-terms of p and factorize; then use multiplicative inverse. Stop worrying that one of the starting terms is 7p and another is tp. They are still terms of p.
You fill-in the steps to solve.
The finished solution formula for p is this: