The formula for total loan cost is attached.
10 years = 120 payments
MONTHLY Interest = .0325 / 12 = 0.0027083333
total = 0.0027083333 * 21,000 * 120 / (1-(1.0027083333)-120
total = 6,825 / (1- 0.7228448406 )
total = 6,825 / 0.2771551594
total = 24,625.20