The function we have to use in this case is
[tex]m(t)=m_o\cdot(1+\frac{0.03}{4})^{4t}[/tex]where mo is the initial amount of money. After 2 teats we get that
[tex]\begin{gathered} m_0\cdot(1+\frac{0.03}{4})^8=800 \\ m_0\cdot1.06=800 \\ m_0=\frac{800}{1.06}\approx754.71 \end{gathered}[/tex]SO he earned 755 approximately