The equation for that is
A = P * [ 1 + (r/n) ] ^(nt)
A = amount of money accumulated after n years, including interest.
P = principal amount (the initial amount you borrow or deposit)
r = annual rate of interest (as a decimal)
n = number of times the interest is compounded per year
t = number of years the amount is deposited or borrowed for.
In this question, P = 9700 , r = 0.034, n = 4 , t = 1
A = 9700 * [ 1 + (0.034 / 4) ] ^ (4 * 1)
= 9700 * ( 1 + 0.0085 )^4
= 9700 * (1.0085)^4
= 9700 * 1.03443596
= 10,032.60 rounded off