A loan of 299,000 is initially repaid through 25 equal annual installments made at the end of each year at 4% interest effective annually. Immediately after the 9th payment, the loan is renegotiated as follows: (i) The borrower will make 32 equal semi-annual payments of X to repay the loan, with the first payment made four years from the date of renegotiation. (ii) The interest rate is changed to 8% compounded semi-annually.
Calculate X.
{use amortization formula}