Maximum window size= $RTT*BW=512*10^6*40*10^{-3}$bits=$20480*10^3$ bits
As mentioned in question, We are sending $65,535$ Bytes whereas we could have sent above mentioned number of bytes
$\therefore$ Line efficiency=$\frac{65,535*8}{20480*10^3}*100\%=2.559\%$