Answer:
p=4 d=2
Explanation:
To do this, we can set up a system of equations.
Special Deal 1:
2p+4d=16
Special Deal 2:
4p+7d=30
Now we can set this up for elimination, and try to eliminate the p variable.
Let's do this by multiplying the entire equation for Special Deal 1 by 2.
2(2p+4d=16)
4p+8d=32
Now we can eliminate p by subtracting the equation for special deal 2, by the equation for special deal 1.
4p+8d=32 minus
4p+7d=30 equals
d=2
Now we can plug that into the original equation to find the cost of p.
2p+4(2)=16
2p+8=16
Subtract 8 from both sides.
2p=8
p=4
Therefore, a pizza costs $4 and a drink costs $2.