Actually in case of packet switching we generally neglect all delays except transmission delay because they are very small .Time taken for first packet will be =number of hops*transmission time and all other packets will follow the first packet in pipelining manner and each will have time=transmission time.