We compute the volume of a cylinder using the next equation:

Where h is the heigh and r is the radio of the circle face.
The exercise is giving the volumen V = 18 pi, so let's look for the right numbers which can give this result.

Therefore the correct answer is the 3rd option, r = 3 in and h = 2 in.