it's something plus m and we know that there is a path between a and b that visits each vertex exactly once, and so, the path length from a to b is almost the same as the number of vertices, it's just one less, so you can see this here in the example.