After two years, the investment would be worth $242.
When interest is compounded, both the principal amount and the interest already accrued earns interest.
The formula that can be used to determine the value of the investment is:
FV = P (1 + r)^nm
Where: