We can see the graph can be divided into 4 vertical layers with 3 nodes in each layer. In each layer there is exactly one edge to the next layer and no way to go back or stay in the same layer. Hence starting from s, each layer will give us 4 nodes before we discover t.