The general form for simple compounding interest is f = i (1 + r)t, where f is the final value, i is the initial value, r is the annual rate of growth (or negative if decay), and t is time in years. From the problem prompt, the final value after some time f = 300, the initial value i = 3400, the annual growth rate i = -0.5 (negative because "decreases", and 0.5 because 50%), and t is what we are solving for. Rearranging the equation for t and substituting our values:
f = i (1 + r)t
(f / i) = (1 + r)t
ln(f / i) = t ln(1 + r) where ln(x) is the natural log function of x, or loge(x)
t = ln(f / i) / ln(1 + r)
t = ln(300 / 3400) / ln(1 - 0.5) by substitution, then put into calculator
t = 3.5 <<< final answer, in unit of years to 1 decimal place.