Eric invested in a savings bond for 4 years and was paid simple interest at an annual rate of 5%. The total interest that he earned was $1800. How much did he invest? If necessary, refer to the list of financial formulas.