This problem isn't really a Rate-of-Work Problem, it is actually a system of linear equations.
\n" );
document.write( "
\n" );
document.write( "First Define your Variables, Let C be the Cost/Day for a Carpenter, and P be the Cost/Day for a Painter
\n" );
document.write( "
\r
\n" );
document.write( "\n" );
document.write( "Equation 1: 6c + 2p = 970
\n" );
document.write( "
\n" );
document.write( "Equation 2: 3c + 4p = 770
\n" );
document.write( "
\n" );
document.write( "Now you can solve this by grpahing, substitution or elimination, but for this answer, I will solve by elimination.
\n" );
document.write( "
\n" );
document.write( "Choose one of your variables to get to be the same, I am going to choose C, so I need to multiply the Bottom equation by 2
\n" );
document.write( "
\n" );
document.write( "6c + 2p = 970
\n" );
document.write( "
\n" );
document.write( "2( 3c + 4p = 770 )
\n" );
document.write( "
\n" );
document.write( "Now I get
\n" );
document.write( "6c + 2p = 970
\n" );
document.write( "6c + 8p = 1540\r
\n" );
document.write( "\n" );
document.write( "
\n" );
document.write( "Subtract your two equations and you get -6p = -570, divide by -6 and P = 95.
\n" );
document.write( "
\n" );
document.write( "That is, it cost $95.00/Day to hire a painter.
\n" );
document.write( "
\n" );
document.write( "Now substitute P = 95 into one of your original equations
\n" );
document.write( "6c + 2(95) = 970
\n" );
document.write( "Simplfy 6c + 190 = 970
\n" );
document.write( "Subtract 190 from both sides 6c = 780
\n" );
document.write( "Dive by 6 on both sices c = 130
\n" );
document.write( "
\r
\n" );
document.write( "\n" );
document.write( "So it costs 130/day for a carpenter and 95/day for a painter.
\n" );
document.write( "