Question 1034710
Call their ages S and A.  Then we write
S = 2 + (1/3)A
and S = 12
so that
12 = 2 + (1/3)A
10 = (1/3)A
A = 30 years old