Fundamental study


This is a fundamental data of a stock. I am bit confused at figures in Return on Equity.

I see it shows 3 yrs return on equity is 39.63%

If I had invested 100$ 3 years back into this company , does that mean it would have become theoretically 100+(10039.633/100) = 218.89 $ ?

Or

This would have become =100(1+39.63/100)^3
1001.39631.3963*1.3963 = 272.23 $

Which one is correct ?