Suppose my mother is three times as old as Congcong after X years, and get the equation:
40+x=3(8+x)
40+x=24+3x
16=2x
x=8
So eight years later, my mother is three times as old as Congcong.