time, amount and interest are already given...

just need a formula... thanks!