Answer:
P= $2.75
Explanation:
So first we need to create our system of equations
since each popcorn is 0.40 less than each drink we can make the equation:
D - 0.40 = P we can rewrite that as P + 0.40 = D so that we have D by its self.
Next, we create the overall equation:
$24.00 = 3P + 5D
Now plug in D from the first equation into the second equation:
$24.00 = 3P + 5( P + 0.40)
Distribute the five and solve for P:
$24.00 = 3P + 5P + 2
$22.00 = 8P
P = $2.75
Now add 0.40 which would be $3.15 and plug it into the first equation just to make sure that the answer is correct.