how do i calculate total repayment
Always give an example, or state the problem you have exactly as it is written down. Then, will show you how to do it.