Art of Problem Solving
During AMC 10A/12A testing, the AoPS Wiki is in read-only mode and no edits can be made.

2017 AMC 10B Problems/Problem 5

Problem

Camilla had twice as many blueberry jelly beans as cherry jelly beans. After eating 10 pieces of each kind, she now has three times as many blueberry jelly beans as cherry jelly beans. How many blueberry jelly beans did she originally have?

$\textbf{(A)}\ 10\qquad\textbf{(B)}\ 20\qquad\textbf{(C)}\ 30\qquad\textbf{(D)}\ 40\qquad\textbf{(E)}\ 50$

Solution 1

Denote the number of blueberry and cherry jelly beans as $b$ and $c$ respectively. Then $b = 2c$ and $b-10 = 3(c-10)$. Substituting, we have $2c-10 = 3c-30$, so $c=20$, $b=\boxed{\textbf{(D) } 40}$.