Candy sharing puzzle

Peter has three times as many candies as his friend Matt. When Pete's brother Frank took four candies from each of them, Peter had five times as many as Matt. How many candies does Peter have now?

Final Answer:

p =  24

Step-by-step explanation:


p=3m
p-4=5·(m-4)

p=3·m
p-4=5·(m-4)

3m-p = 0
5m-p = 16

Pivot: Row 1 ↔ Row 2
5m-p = 16
3m-p = 0

Row 2 - 3/5 · Row 1 → Row 2
5m-p = 16
-0.4p = -9.6


p = -9.6/-0.4 = 24
m = 16+p/5 = 16+24/5 = 8

m = 8
p = 24

Our linear equations calculator calculates it.



Help us improve! If you spot a mistake, please let let us know. Thank you!







Tips for related online calculators
Do you have a linear equation or system of equations and are looking for a solution? Or do you have a quadratic equation?

You need to know the following knowledge to solve this word math problem:

Related math problems and questions: