document.write( "Question 164615: Manufacturing: a company manufactures both mountain bikes and trail bikes. The cost of materials for a mountain bike is $70, and the cost of materials for a trail bike is $50. The cost of labor to manufacture a mountain bike is $80, and the cost of labor to manufacture a trail bike is $40. During a week in which the company has budgeted $2500 for materials and $2600 for labor, how many mountain bikes does the company plan to manufacture?\r
\n" ); document.write( "\n" ); document.write( "What I need is what steps to take to solve this problem.
\n" ); document.write( "

Algebra.Com's Answer #121304 by gonzo(654)\"\" \"About 
You can put this solution on YOUR website!
let x = number of mountain bikes to be manufactured.
\n" ); document.write( "let y = number of trail bikes to be manufactured.
\n" ); document.write( "-----
\n" ); document.write( "total cost of material is $2500.
\n" ); document.write( "cost of material for mountain bike is 70.
\n" ); document.write( "cost of material for trail bike is 50.
\n" ); document.write( "equation for total material is:
\n" ); document.write( "70*x + 50*y = 2500
\n" ); document.write( "-----
\n" ); document.write( "total cost of labor is $2600.
\n" ); document.write( "cost of labor for mountain bike is 80.
\n" ); document.write( "cost of labor for trail bike is 40.
\n" ); document.write( "equation for total labor is:
\n" ); document.write( "80*x + 40*y = 2600
\n" ); document.write( "-----
\n" ); document.write( "solve these equations simultaneously.
\n" ); document.write( "70*x + 50*y = 2500 (first equation)
\n" ); document.write( "80*x + 40*y = 2600 (second equation)
\n" ); document.write( "multiply both sides of first equation by 4 and multiply both sides of second equation by 5. this will allow you to eliminate the y from the equation so you can solve for x.
\n" ); document.write( "-----
\n" ); document.write( "280*x + 200*y = 10000
\n" ); document.write( "400*x + 200*y = 13000
\n" ); document.write( "subtract first equation from second equation.
\n" ); document.write( "120*x = 3000
\n" ); document.write( "divide both sides by 120.
\n" ); document.write( "x = 25
\n" ); document.write( "-----
\n" ); document.write( "substitute 25 for x in first equation.
\n" ); document.write( "70*(25) + 50*y = 2500
\n" ); document.write( "1750 + 50*y = 2500
\n" ); document.write( "subtract 1750 from both sides
\n" ); document.write( "50*y = 750
\n" ); document.write( "y = 15
\n" ); document.write( "-----
\n" ); document.write( "substitute 25 for x and 15 for y in second equation.
\n" ); document.write( "80*25 + 40*15 = 2600
\n" ); document.write( "2000 + 600 = 2600
\n" ); document.write( "2600 = 2600
\n" ); document.write( "x = 25 and y = 15 are good in second equation.
\n" ); document.write( "-----
\n" ); document.write( "answer is:
\n" ); document.write( "x = 25
\n" ); document.write( "y = 15
\n" ); document.write( "number of mountain bikes to manufacture = 25
\n" ); document.write( "number of trail bikes to manufacture = 15
\n" ); document.write( "-----\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );