Random(but interesting) problem

Does anyone know how to solve the question below?
A 3 x 4 x 5 cuboid consists of 60 identical small cubes. A termite eats its way along the diagonal from 𝑃 to 𝑄. This diagonal does not intersect the edges of any small cube inside the cuboid. How many of the small cubes does it pass through on its journey?
(A) 8 (B) 9 (C) 10 (D) 11 (E) 12(By the way, is the phrasing of this question a bit weird because I didn't really get it.)