ANSWER:
3 boxes of felt-tip pens
15 boxes of ballpoint pens
Explanation:
Let x boxes of ballpoint pens and y boxes of felt-tip pens. With the help of the statement we formulate the following equations:
We substitute equation (1) in equation (2) and solve for y, like this:
Therefore, he bought 15 boxes of ballpoint pens and 3 boxes of felt-tip pens.