Data send by udp =14600 (two times )
Data sent by TCP (7300 + 1500) =8800
Difference =5800
Since Udp is being used there is no reciever window and buffer that will store out of order datagrams and since its given that the application is relaible it retransmits the whole message again.
Now Tcp has got buffer at reciving window that stores out of order segemants.
Assuming a datagram of 1500 bytes (MTU) is having error,the rest will be stored and ack will be generated for this missing segement.Thus only this 1 would be retransmitted by the sender (after RTO or recieving 3 consective Ack's)