Every linear combination problem comes down to one setup linking your dials, your moves, and where you land:
a×[Move A]+b×[Move B]=[Target]
Because steps right, steps up, and steps out never mix, each position in the vectors gives its own separate row equation. When you already know the dial settings, such as 2×[1,2]+1×[3,1], you don't need to solve equations at all: just multiply and add the top row (2(1)+1(3)=5) and bottom row (2(2)+1(1)=5) directly to get [5,5].
When you are given a 2D target and need to find the dials, such as a×[1,2]+b×[3,1]=[7,4], write the top row (1a+3b=7) and bottom row (2a+1b=4), multiply one row so the a terms match (2a+6b=14), and compare how much the extra b's add. If one move is a scaled copy of the other, like [1,2] and [2,4] where every bottom entry is double the top entry, both moves are trapped on the same line: you can tell right away that [7,4] is unreachable because a top entry of 7 forces the bottom entry to be 14, and in the equations the doubled top row 2a+4b=14 contradicts the bottom row 2a+4b=4. Finally, when you have two moves in 3D space that point along different lines, such as a×[1,2,3]+b×[3,1,1]=[7,4,5], their combinations only sweep out a tilted plane: solve Rows 1 and 2 first to lock in the two dials (a=1,b=2), and then plug them into Row 3 (3(1)+1(2)=5) to check whether the target sits on the plane ([7,4,5]) or off it ([7,4,8]).