The volume of a cylinder is modeled such that [tex]V_{cyl}= \pi r^2h[/tex], which you can think of as basically the area of a circle, with height to make it three-dimensional.
The radius in this scenario is constant. We know the volume, and we are solving for the height. Thus, we will write the height in terms of the volume and radius such that [tex]h= \dfrac{V}{ \pi r^2} [/tex]. For the full cylinder, [tex]h= \frac{471}{3.14(5)^2} = 6 \ cm[/tex]. For the partially full cylinder, [tex]h= \frac{314}{3.14(5)^2} = 4 \ cm[/tex]. The difference is 2 cm.