Answer:
in 2 years the savings account will show: $324.48
in 3 years the savings account will show: $337.46
so the interest earned in these three years would be $337.46 - $300 = $37.46
Explanation:
The equation for interest rate compounded annually is what describes this investment, since:
where A is the accrued value (total value of principal plus accumulated interest) in the account after the first year ($312), P the principal ($300 in our case), and r the interest rate in decimal form (0.04), and t is the time in years (one for the fist year). They perfectly satisfy the equation:

Then, we can apply this equation for years 2 and 3, just changing the value of t to 2 and 3, as shown below:

We can round the last value to two decimals (cents) obtaining: $337.46
The pure interest after the three years is therefore the total at that time minus the principal the account was started with ($300): $337.46 - $300 = $37.46