Now, let's write the problem in form of an algebraic equation. Basically, the future age will be the current age plus x quantity of years. So mathematically we can calculate in how many years will Sam's mother be 3 times as old as he will be as:
Solving for x:
Replacing the values of and
Hence, the years required for Sam's mother be 3 times as old as sam will be is 11
When Sam is 13 his mother will be 39 which is 3 times as old as he is. So Sam's mother will be 3 times as old as Sam will be in 11 years. (Your answer is 11 years.)