James took out a loan at a rate of 8.5% for six months he had to pay back $1876.50. how much did he borrow