document.write( "Question 399682: Hi! Can you please help me with the following word problem: substitution?\r
\n" ); document.write( "\n" ); document.write( "John earned $240 in the summer by working at a fast food restraunt and baby-sitting. If he earned five times as much in the restraunt as he did baby-sitting, how much did he earn at each job?\r
\n" ); document.write( "\n" ); document.write( "I need an equation for it
\n" ); document.write( "Like, I sorta started it by saying F-fastfood and B-babysitting
\n" ); document.write( "So, would it be F+B=240?
\n" ); document.write( "I'm not sure if its right and I need to solve it too.
\n" ); document.write( "Thanks! :)
\n" ); document.write( "

Algebra.Com's Answer #283016 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
John earned $240 in the summer by working at a fast food restraunt and baby-sitting. If he earned five times as much in the restraunt as he did baby-sitting, how much did he earn at each job?\r
\n" ); document.write( "\n" ); document.write( "I need an equation for it
\n" ); document.write( "Like, I sorta started it by saying F-fastfood and B-babysitting
\n" ); document.write( "So, would it be F+B=240?
\n" ); document.write( "----------------
\n" ); document.write( "let f and b be the pay rate for food and baby-sitting
\n" ); document.write( "f = 5b
\n" ); document.write( "f + b = 240
\n" ); document.write( "-----------
\n" ); document.write( "Sub for f
\n" ); document.write( "5b + b = 240
\n" ); document.write( "6b = 240
\n" ); document.write( "b = $40
\n" ); document.write( "f = $200
\n" ); document.write( "----------
\n" ); document.write( "You were going the right way.
\n" ); document.write( "
\n" );