document.write( "Question 936779: Ruby is 5 years older than Paula. She is also 7 years older than Shelly. The sum of their ages is 21. How old is each person? Justify your answer. \n" ); document.write( "
Algebra.Com's Answer #570262 by Edwin McCravy(20056)\"\" \"About 
You can put this solution on YOUR website!
\"system%28R=P%2B5%2CR=S%2B7%2CR%2BP%2BS=21%29\"\r
\n" ); document.write( "\n" ); document.write( "Substitute (P+5) for R in the 2nd and 3rd.
\n" ); document.write( "Solve the 2nd for S
\n" ); document.write( "Substitute that for S in the 3rd
\n" ); document.write( "Substitute back to find P and R.\r
\n" ); document.write( "\n" ); document.write( "Solutions: P=6, R=11, S=4\r
\n" ); document.write( "\n" ); document.write( "Edwin
\n" ); document.write( "
\n" );