7. (5 points) Xiaodingding bought 7 pencils and 6 ballpoint pens at the supermarket, spending a total of 46.8 yuan. Later, he bought 3 more pencils and 5 ballpoint pens of the same kind, spending a total of 32.2 yuan. Each pencil costs $\qquad$ yuan, and each ballpoint pen costs $\qquad$ yuan. $\qquad$
【Solution】Solution: The unit price of ballpoint pens: $(32.2 \times 7-46.8 \times 3) \div(5 \times 7-3 \times 6)$
$$
\begin{array}{l}
=85 \div 18 \\
=5 \text { (yuan) }
\end{array}
$$

The unit price of pencils: $(46.8-5 \times 6) \div 7$
$$
\begin{array}{l}
=16.8 \div 7 \\
=2.4 \text { (yuan) }
\end{array}
$$

Answer: Each mechanical pencil costs 2.4 yuan, and each ballpoint pen costs 5 yuan.
Therefore, the answers are: $2.4,5$.