Answer :

3 years old, because 3 times 5 is 15 and 3 plus 12 is 15.
a = 5 * n ;
a = 12 + n;
Then, 5n = 12 + n;   / -n
4n = 12 ;   / ÷4
n = 3 years.