document.write( "Question 1049397: brain is x years old. Peter is 4years older than brain. Amy is 2 years younger than brain. The total age is 26 years. Work out the value of x? \n" ); document.write( "
Algebra.Com's Answer #664949 by Fombitz(32388)\"\" \"About 
You can put this solution on YOUR website!
\"P=4%2Bx\"
\n" ); document.write( "\"A=x-2\"
\n" ); document.write( "I'm assuming you mean the total of Brian's, Peter's and Amy's ages is 26.
\n" ); document.write( "\"x%2BP%2BA=26\"
\n" ); document.write( "Substituting,
\n" ); document.write( "\"x%2B%284%2Bx%29%2B%28x-2%29=26\"
\n" ); document.write( "\"3x%2B2=26\"
\n" ); document.write( "\"3x=24\"
\n" ); document.write( "\"x=8\"
\n" ); document.write( "Then,
\n" ); document.write( "\"P=4%2B8=12\"
\n" ); document.write( "\"A=8-2=6\"
\n" ); document.write( "
\n" ); document.write( "
\n" );