This seems like a compound interest formula! :D
Anyway, just follow the equation through with the order of operations.
5000(1 + 0.06/2)^(2*5)
5000(1+.03)^10
5000(1.03)^10
5000(1.3439163793441219)
6719.5815
round down
6719.58
By the way, this is a good resource for checking compound interest problems: http://www.moneychimp.com/calculator/compound_interest_calculator.htm
Our compounded-interest formula is
A = P(1+r/n)nt
Where:
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.
Let's put these numbers into our formula to find how much money we'll have after 10 years!
A = P(1+r/n)nt
A = 1000(1+(.06)/(4))(4)(10) ----The interest is compounded quarterly, so 4 times a year (n=4)
A = 1000(1+.015)40
A = 1000(1.015)40
A = 1000(1.8140184086689515)
A = 1814.0184086689515
Round up
A = 1814.02
After 10 years, you will have $1814.02!
Formula source: https://qrc.depaul.edu/StudyGuide2009/Notes/Savings%20Accounts/Compound%20Interest.htm