İlk durumda x kişi olsun.
x+40 olduğu zaman kişi sayısı 3x+12 ye eşit oluyormuş.
Yani
x+40=3x+12 olur.
Buradan x=14 sonucunu buluruz.