ooof i got it now took me a month lolllllllš
so basically i first calculate the monthly payment for assuming 20 years.... interest only loan(unnecessary info)
then using this pmt value for 18 years , i calculate the new interest rate ......
my mistake understood it wrong