Since it is Stop and Wait Protocol, next packet will be sent only upon receipt of acknowledgement of previous packet from reciever/Host, not router.
Here total no. of packets = 10.
For 1 packet, total time taken to complete one cycle = TxAR + TpAR + TxRB + TpRB + TxackBR + TpackBR + TxackRA + TpackRA
(AR : A->R link, RB: R->B link, etc)
= 1000us + 1us + 1000us + 1 us + 10us + 1 us + 10us + 1us = 2024us
For 10 packets, total time taken = 2024*10 us = 20240us = 20.24 ms.