document.write( "Question 1046511: Carly is five less than twice John's age. If the sum of their ages is 25 find both of their ages \n" ); document.write( "
Algebra.Com's Answer #662034 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
let c = C's age
\n" ); document.write( "let j = J's age
\n" ); document.write( ":
\n" ); document.write( "write an equation for each statement
\n" ); document.write( ":
\n" ); document.write( " Carly is five less than twice John's age.
\n" ); document.write( "c = 2j - 5
\n" ); document.write( " If the sum of their ages is 25
\n" ); document.write( "c + j = 25
\n" ); document.write( " find both of their ages
\n" ); document.write( "Replace c in the above equation with (2j-5), from the first statement
\n" ); document.write( "(2j-5) + j = 25
\n" ); document.write( "2j + j = 25 + 5
\n" ); document.write( "3j = 30
\n" ); document.write( "j = 30/3
\n" ); document.write( "j = 10 yrs is J's age
\n" ); document.write( "I'll let you find C's age by substituting 10 for j in the first equation
\n" ); document.write( "Check your answers in the 2nd statement
\n" ); document.write( "
\n" );