The total amount is $ 1015.82 and interest amount is $ 165.82
Solution:
The formula for amount when interest is compounded annually is:

Where,
"A" is the total amount
"P" is the principal
"r" is the rate of interest in decimal form
"n" is the number of years
From given, $850 at 2% for 9 years, compounded annually
P = 850
t = 9 years

Substituting the given values we get,

Thus total amount is $ 1015.82
Interest amount = Total amount - principal
Interest amount = 1015.82 - 850
Interest amount = 165.82
Thus total amount earned is $ 1015.82 and interest amount is $ 165.82