The formula for compound interest is A = P(1 + r/100)^nt where A is the answer, P is the principle amount which is 300$, r is the compounded rate, n is the amount of times compounded per year, and t is the number of years.
Plugging in our values we have A = 300(1 + 0.05)^4. The answer is 364.65$