document.write( "Question 982919: John is two years older than James, and Matt is half John's age, the sum of their age is 23, how old is James? \n" ); document.write( "
Algebra.Com's Answer #603715 by Edwin McCravy(20059)\"\" \"About 
You can put this solution on YOUR website!
\r\n" );
document.write( "Instead of doing your problem for you, I will do one exactly\r\n" );
document.write( "like it.  You do yours the same way, using this as a model.\r\n" );
document.write( "

\n" ); document.write( "John is three years older than James, and Matt is one-third John's age, the sum
\n" ); document.write( "of their age is 25, how old are each of the boys?\r
\n" ); document.write( "\n" ); document.write( "John is three years older than James,
\n" ); document.write( "
\r\n" );
document.write( "Let James' age be x\r\n" );
document.write( "Then John's age is x+3\r\n" );
document.write( "

\n" ); document.write( "and Matt is one-third John's age,
\n" ); document.write( "
\r\n" );
document.write( "So Matt's age is \"1%2F3\"(x+3)\r\n" );
document.write( "

\n" ); document.write( "the sum of their ages is 25,
\n" ); document.write( "
\r\n" );
document.write( "x + (x+3) + \"1%2F3\"(x+3) = 25\r\n" );
document.write( "x + x + 3 + \"1%2F3\"(x+3) = 25\r\n" );
document.write( "\r\n" );
document.write( "   2x + 3 + \"1%2F3\"(x+3) = 25\r\n" );
document.write( "\r\n" );
document.write( "Multiply through by 3\r\n" );
document.write( "\r\n" );
document.write( "           6x + 9 + 1(x+3) = 75\r\n" );
document.write( "            6x + 9 + x + 3 = 75\r\n" );
document.write( "                   7x + 12 = 75\r\n" );
document.write( "                        7x = 63\r\n" );
document.write( "                         x = 9\r\n" );
document.write( "\r\n" );
document.write( "So James' age = x = 9\r\n" );
document.write( "John's age = x+3 = 9+3 = 12\r\n" );
document.write( "Matt's age  \"1%2F3\"(x+3) = \"1%2F3\"{9+3) = \"1%2F3\"(12) = 4    \r\n" );
document.write( "\r\n" );
document.write( "Edwin 
\n" ); document.write( "
\n" );