document.write( "Question 677530: Ryan is three more than three times the age of Samantha. The sum of their ages is 23. Find the age of both. \n" ); document.write( "
Algebra.Com's Answer #420938 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
\"+r+%2B+s+=+23+\"
\n" ); document.write( "\"+r+=+3s+%2B+3+\"
\n" ); document.write( "-------------
\n" ); document.write( "By substitution:
\n" ); document.write( "\"+3s+%2B+3+%2B+s+=+23+\"
\n" ); document.write( "\"+4s+=+20+\"
\n" ); document.write( "\"+s+=+5+\"
\n" ); document.write( "and, since
\n" ); document.write( "\"+r+%2B+s+=+23+\"
\n" ); document.write( "\"+r+%2B+5+=+23+\"
\n" ); document.write( "\"+r+=+18+\"
\n" ); document.write( "Ryan is 18 and
\n" ); document.write( "Sam is 5
\n" ); document.write( "
\n" ); document.write( "
\n" );