To find the amount of toppings that are on a pizza that costs $15, you will need to consider that P=15, replace this value on the formula and then, solve for n that is the number of toppings on the pizza:
P=2n+7
15=2n+7
15-7=2n
n=8/2
n=4
According to this, the answer is that there are 4 toppings on a pizza that costs $15.