We have the following:
The corresponding equation is the following
[tex]A=P(1-r)^t[/tex]Where P is 5000, r is 10% or 0.1 and t is 3 years
[tex]\begin{gathered} A=5000\cdot(1-0.1)^3 \\ A=3645 \end{gathered}[/tex]Therefore, the correct answer is 3645 gallons.