This is a Remembered Length puzzle.
(Click for larger size)
One might see this as the harder sequel to Puzzle 338. I honestly have little idea if this puzzle is easier to solve with logic or with intuitive, Numberlink-style thinking. Pick your favorite approach.
I wouldn’t be surprised if the gimmick here replicates a puzzle type that’s already been done before.