Amount of Premium to be amortised per interest payment=Total Premium/No of times interest will be paid over life of the bond
=40000/20
=$2000
No of Interest payments made upto 1st July Year 6=11 times
Premium Amortised upto 1st July=Amount of Premium to be amortised per interest payment*No of payments made upto 1st July, Year6
=2000*11
=$22000
Carrying amount of Bond as on 1sy July,Year 6= Face Value of Bond-Premium Amortised upto 1st July, Year 6
=1040000-22000
=$1018000
Gain/(Loss) on Amortisation=Amount Paid-Carrying Value of Bond
=1010000-1018000
=$8000