The diameter of a basketball rim is 18 inches

The diameter of a basketball rim is 18 inches. A standard basketball has a circumference of 30 inches. About how much room is there between the ball and the rim in a shot in which the ball goes in exactly in the center of the rim? Show your work.