Let age of the new boy was x.
Age decreased =4 months =412=13 years
Now, we have formula for this type of questions,
Number of members in the group × age decreased = difference in ages of boy in and boy out.
24×(13)=20−x
x=12 years
Thought process method:
Total age decreased =4×24=96 month =8 years
It means the difference of the ages between boy in and out would be =20−8 =12 years.