you need to calculate : pay off at year 6 in a setting of 6 year fixed (according to your wordings), although you refinance mortgage is 15 year.