Could someone please tell me how to find the "the set of direction numbers" [1,-1,1]? I get everything else in that question but I don't recall at all how to find these. (Question, solution and answer attached).

Any help would be greatly appreciated!

Thanks in advance!