document.write( "Question 1093674: Jack and Harry think of the same number.
\n" ); document.write( "Jack adds 2 to his number, and then multiplies by 5.
\n" ); document.write( "Harry multiplies his number by 7 and then subtracts 6.
\n" ); document.write( "They both get the same answer.
\n" ); document.write( "What number did they both think of?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #708368 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
let n = the number
\n" ); document.write( ":
\n" ); document.write( " Jack and Harry think of the same number.
\n" ); document.write( " Jack adds 2 to his number, and then multiplies by 5.
\n" ); document.write( "5(n+2)
\n" ); document.write( " Harry multiplies his number by 7 and then subtracts 6.
\n" ); document.write( "7n - 6
\n" ); document.write( " They both get the same answer.
\n" ); document.write( " therefore:
\n" ); document.write( "7n - 6 = 5(n + 2)
\n" ); document.write( "7n - 6 = 5n + 10
\n" ); document.write( "7n - 5n = 10 + 6
\n" ); document.write( "2n = 16
\n" ); document.write( " n = 16/2
\n" ); document.write( " n = 8 is the number
\n" ); document.write( ":
\n" ); document.write( "You can confirm this yourself in both statements by replacing n with 8
\n" ); document.write( "
\n" );