Question 611044
Let's map this out mathematically
Then years from now, (+10) A will be twice as old as B (2b). Five years ago, (-5) A was three times as old as B (3b).

<p>So, that means:
{{{2b+10=a}}}
and
{{{3b-5=a}}}.

<p>Let's simplify that and move both variables on one side of the equation to get:
{{{2b-a=-10}}}
and
{{{3b-a=5}}}

<p>We're going to substitute this into the solver. x=b and y=a. 

<p>*[invoke cramers_rule_2x2 2, -1, -10, 3, -1, 5]

<p><b>So, person A is 40 and person B is 15.</b> :)