Using the first point given in the statement you can find a, like this

Now, since you already have the value of a, you can find the value of b using the second point, like this
![\begin{gathered} y=ab^x \\ \text{ Replace x = 3 and y = 6174} \\ 6174=18\cdot b^3 \\ \text{ Divide by 18 into both sides of the equation} \\ (6174)/(18)=(18\cdot b^3)/(18) \\ 343=b^3 \\ \text{ Apply cube root to both sides of the equation} \\ \sqrt[3]{343}=\sqrt[3]{b^3} \\ 7=b \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/8i397i24hhs0xz5yuem7qmznm4em3qc6yw.png)
Therefore, the exponential function that passes through the points (0,18) and (3,6174) is
