Step 1: Use the distance formula.
The distance between two points \((x_1, y_1)\) and \((x_2, y_2)\) is given by:
\[
d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}
\]
Step 2: Substitute the given coordinates.
Here, \((x_1, y_1) = (5, 0)\) and \((x_2, y_2) = (-12, 0)\).
\[
d = \sqrt{(-12 - 5)^2 + (0 - 0)^2} = \sqrt{(-17)^2} = 17
\]
Step 3: Correct calculation.
\[
d = 17
\]
Step 4: Check the given options.
The correct option is (D) 17.