The volume of a cylinder with radius $r$ and height $h$ is $\pi r^2 h$. The volume of a right circular cone with base radius $r$ and height $x$ is $\frac{1}{3} \pi r^2 x$.
Then, the total volume of the pencil is $\pi r^2 h + \frac{1}{3} \pi r^2 x + \frac{1}{3} \pi r^2 y = \pi r^2 ( h + \frac{x + y}{3})$.
Note that $x + y = 110 - h$ and simplify.