document.write( "Question 466531: In two years time jam will be as old as dindo is now. in 26 years dindo will be twica as old as jam is now . how old is dindo? \n" ); document.write( "
Algebra.Com's Answer #319827 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
let x = jam's age now.
\n" ); document.write( "let y = dindo's age now.
\n" ); document.write( "in 2 years jam will be as old as dindo is now.
\n" ); document.write( "this means that x + 2 = y
\n" ); document.write( "in 26 years dindo will be twice as old as jam is now.
\n" ); document.write( "this means that y + 26 = 2 * x
\n" ); document.write( "you have 2 equations that need to be solved simultaneously.
\n" ); document.write( "the first equation is:
\n" ); document.write( "y = x + 2
\n" ); document.write( "the second equation is:
\n" ); document.write( "y + 26 = 2 * x
\n" ); document.write( "the trick in solving 2 equations in 2 unknowns is to reduce the number of unknowns and equations to 1 which can then be solved. after you solve for the 1 unknown, then you can solve for the other.
\n" ); document.write( "in this problem, we'll use substitution as the method to reduce the 2 equations in 2 unknowns to 1 equation in 1 unknown.
\n" ); document.write( "the first equation says that y = x + 2.
\n" ); document.write( "we'll substitute for y in the second equation to get:
\n" ); document.write( "y + 26 = 2 * x becomes:
\n" ); document.write( "(x + 2) + 26 = 2 * x
\n" ); document.write( "that last equation is now 1 equation in 1 unknown.
\n" ); document.write( "simplify it to get:
\n" ); document.write( "x + 28 = 2 * x
\n" ); document.write( "subtract x from both sides of the equation to get:
\n" ); document.write( "28 = x
\n" ); document.write( "this is the same as:
\n" ); document.write( "x = 28
\n" ); document.write( "you now know what x is and you can solve for y.
\n" ); document.write( "use the first equation to get:
\n" ); document.write( "y = x + 2 which becomes:
\n" ); document.write( "y = 30
\n" ); document.write( "you now should have both x and y and you can confirm them as being good or not good by substituting in the original equations.
\n" ); document.write( "the first equation is y = x + 2
\n" ); document.write( "since y = 30 and x = 2, this equation is true and the values of x and y are confirmed as good.
\n" ); document.write( "the second equation is y + 26 = 2 * x
\n" ); document.write( "y + 26 = 30 + 26 = 56 and 2 * x = 2 * 28 = 56, so the equation is true and the value of x and y are confirmed as being good for the second equation.
\n" ); document.write( "since the value of x and y are confirmed as good in both equations, then the value of x and y have simultaneously solved both equations.
\n" ); document.write( "the answer is:
\n" ); document.write( "x = 28
\n" ); document.write( "y = 30
\n" ); document.write( "this means that jam is 28 and dindo is 30.
\n" ); document.write( "in 2 years jam will be 30 which is how old dindo is now.
\n" ); document.write( "in 26 years dindo will be 30 + 26 = 56 years old which is 2 * how old jam is now (jam is now 28 years old).\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );