I found it
Answer Description
There are 5 hops between Host A and Host B. Let p bits be the payload in a packet. The header bits are 408= 320. Time to send this packet is given by
hop-count * packet-tx-time + (Number of packets-1) * packet-txt-time
The first part calculates the time it takes for the first packet to reach host B. After this, rest of the packets follow separated by transmission time, which is captured by the second part.
5 * (p+320)/110^6 + [(1000008/p)-1] * (p+320)/110^6
This expression needs to be minimized with respect to p. Differentiating and setting to zero yields p = 1000bytes.