Dynamic Programming

Answer & solution
Official answer: 150
Step 1: Condition on the first move from 9. The ordinary unit move reaches 10; the available shortcut reaches 15. Each costs one step. Step 2: Once the first move is made, the optimal remaining cost is T(10) or T(15), so optimal substructure yields T(9)=1+min(T(10),T(15)). Step 3: The order of y and z is irrelevant: their product is 10×15=150. No knowledge of the remaining shortcuts is needed to identify these two immediate successor states.