document.write( "Question 878195: Ray is 15 years older than Sam and Sam is 15 years older than Bart their ages 1242 years how old is each \n" ); document.write( "
Algebra.Com's Answer #529743 by sofiyac(983)\"\" \"About 
You can put this solution on YOUR website!
Lets say Bart is x years old, then Sam is x+15 years old, and Ray is x+15+15=x+30 years old, the sum of ages is 1242 so
\n" ); document.write( "x+x+15+x+30=1242
\n" ); document.write( "3x+45=1242
\n" ); document.write( "3x=1197
\n" ); document.write( "x=1197/3
\n" ); document.write( "x=399 (I don't think that people live that long but)
\n" ); document.write( "Bart is 399 years old
\n" ); document.write( "Sam is 399+15=414 years old and
\n" ); document.write( "Ray is 399+30=429 years old
\n" ); document.write( "
\n" );