We will have that $2200 represent the 100%, then how much money does 12% represent.
In order to solve for the ammount of money we multiply the invested ammount ($2200) times the percentage we want to know (12%) and divide it by 100%, that is:
Here we can see, he earned $264 in those 2 years.