Lengthen/Shorten Duration

How to change the duration of the loan