There are twenty gifts stacked up into $4$ piles. The first pile has $3$ less than the second pile. The second pile has $2$ more than the third pile. The fourth pile has twice as many as the second pile. How many gifts are in each pile?
This is for my $8$ year old son... Embarassing that I can't figure it out.
Let $$\begin{align*} A & =\text{number of gifts in the first pile}\\ B & =\text{number of gifts in the second pile}\\ C & =\text{number of gifts in the third pile}\\ D & =\text{number of gifts in the fourth pile} \end{align*}$$ Then the information given is that $$A=B-3,\quad B=C+2,\quad D=2B,\quad A+B+C+D=20.$$ We can re-express $B=C+2$ as $C=B-2$. Replacing term by term: $$\underbrace{A}_{B-3}+B+\underbrace{C}_{B-2}+\underbrace{D}_{2B}=20$$ we see that $$(B-3)+B+(B-2)+2B=5B-5=20$$ which implies $B=5$, and then $A=2$, $C=3$, and $D=10$.