This is a combinatory qs basically. There are 5 vertices ,in which V5 is fixed,cause it must remain in the path. Now for path of length 3,we need 4 vertices. V5 is already fixed,so we are left with 3 more vertices,which can be chosen from out of 4 vertices.so the no of paths are 4C3 = 4.