The distance the cue ball travels before landing back on the surface depends on the speed.
(the cue ball; travels; before landing back on the surface) (The distance the cue ball travels before landing back on the surface; depends; on the speed)
the cue ball The distance the cue ball travels before landing back on the surface
travels depends
before landing back on the surface
on the speed