document.write( "Question 1158544: Dan the trainer has two solo workout plans that he offers his clients: Plan A and Plan B. Each client does either one or the other (not both). On Friday there were 5 clients who did Plan A and 3 who did plan B. On Saturday there were 2 clients who did Plan A and 12 who did Plan B. Dan trained his Friday clients for a total of 7 hours and his Saturday clients for a total of 19 hours. How long does each of the workout plans last?\r
\n" ); document.write( "\n" ); document.write( "Length of each Plan A workout ___ hour(s) ?
\n" ); document.write( "Length of each Plan B workout ___ hour(s) ?
\n" ); document.write( "

Algebra.Com's Answer #781985 by Amily_2190(27)\"\" \"About 
You can put this solution on YOUR website!
Lets say
\n" ); document.write( "Plan A= A
\n" ); document.write( "Plan B= B\r
\n" ); document.write( "\n" ); document.write( "Friday: 5 Plan A and 3 Plan B for a total of 7 hours \"5A%2B3B=7\"
\n" ); document.write( "Saturday: 2 Plan A and 12 Plan B for a total of 12 hrs \"2A%2B12B=12\"\r
\n" ); document.write( "\n" ); document.write( "Now we solve for each variable using elimination:
\n" ); document.write( "-Multiply the first equation by negative 4 to cancel out the positive 12 B in the second equation.
\n" ); document.write( "-4(5A+3B)=-4(7)
\n" ); document.write( "-20A-12B=-28\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "-20A-12B=-28
\n" ); document.write( "2A+12B=12
\n" ); document.write( "(Add equations)
\n" ); document.write( "-18A=-16
\n" ); document.write( "A=-16/-18= \"8%2F9\"\r
\n" ); document.write( "\n" ); document.write( "Now we solve for B by substituting the value of A into one equation
\n" ); document.write( "2A+12B=12
\n" ); document.write( "2(8/9)+12B=12
\n" ); document.write( "(16/9)+12B=12
\n" ); document.write( "12B=92/9
\n" ); document.write( "B=\"23%2F27\"
\n" ); document.write( "
\n" );