PLEASE HELP NEED ANSWER ASAP

Charles deposited $12,000 in the bank.
He withdrew $5000 from his account after one year.
If he receives a total amount of $9340 after 3 years, find the rate of simple interest.