I don't have any other loan terms to see, so i will assume that it's over a period of 10 years compounded at interest of 5%. If its not, you can just use the process I use to calculate the other loan terms cost.
So, you plug in the values. We know the final amount, A is equal to the original amount P, 2500, and the time is 10 years.