joey made an deposit into an account that earns 6% simple interest. after 3 years joey had earned 400$. how much was joey's initial deposit ?