The height of a right cylinder is 3 times the radius of e base. The volume of the cylinder is 24π cubic units. What is the height of the cylinder?
A. 2 units
B.4 units
C.6 units
D. 8 units