document.write( "Question 853440: You have 160 dollars and you receive 7 dollars a week.
\n" ); document.write( "Your friend has 210 dollars and he receives 5 dollars a week.
\n" ); document.write( "How many weeks would it take you for you and your friend to have the same amount of money?
\n" ); document.write( "

Algebra.Com's Answer #514096 by JulietG(1812)\"\" \"About 
You can put this solution on YOUR website!
You're trying to find the equality, so set the values against each other.
\n" ); document.write( "Let X be the number of weeks until equality.
\n" ); document.write( "160 + 7x = 210 + 5x (what you receive set against what he receives)
\n" ); document.write( "Subtract 160 from each side
\n" ); document.write( "7x = 50 + 5x
\n" ); document.write( "Subtract 5x from each side
\n" ); document.write( "2x = 50
\n" ); document.write( "Divide each side by 2
\n" ); document.write( "x = 25
\n" ); document.write( "It will take 25 weeks.
\n" ); document.write( ".
\n" ); document.write( "let's prove this.
\n" ); document.write( "In 25 weeks, you will have $7 * 25 = $175 + the 160 you started with = $335
\n" ); document.write( "In 25 weeks, your friend will have $5 * 25 = 125 + the 210 he started with = $335
\n" ); document.write( "Success!
\n" ); document.write( "
\n" );