If the price of the home is $170,000 and they make an 18% down payment, then that downpayment is $30,600, leaving a mortgage of 139,400.
To calculate the payment needed
M = Pr((1+r)n
----------
(1+r)n-1
P = 139400 = mortgage amount
r = .0275/12 = .00229167 = rate which is the interest rate divided by 12, assuming monthly payments
n = 15x12 = 180 = length of loan times 12
M = (139400)(.00229167)(1.00229167)180
-------------------------------------------
(1.00229167)180 -1
Working this through, we have
M = $ 946 monthly payment
Now if you rounded up the payment to $1000, you would shorten the length of the mortgage.
Use the same formula, with M as the $1000 payment and solve for n.
Remember you will need to use logs to solve for n and that will be the number of months. Divide by 12 to get the number of years.