You are producing A at rate k and it is decaying at a rate , so . Your equation is incorrect since some of the A produced has decayed for a long time and some for a short time.

To solve this equation, substitute . Everything else is pretty straightforward. Let us know if you have any trouble.

- Hollywood