Let x = how many years ago. Then the condition requires (20-x) = 3*(12-x) ====> 20 - x = 36 - 3x ====> 3x - x = 36 - 20 ====> 2x = 16 ====> x = 8.