document.write( "Question 245730: how can i divide $80 between 3 people so that the second person will have twice as much as the first and the third person will have $5 less then the second person.\r
\n" ); document.write( "\n" ); document.write( "ex. of how to set up ....\r
\n" ); document.write( "\n" ); document.write( "1st person- x+2
\n" ); document.write( "2nd person- x
\n" ); document.write( "3rd person- 5-x\r
\n" ); document.write( "\n" ); document.write( "thanks.
\n" ); document.write( "

Algebra.Com's Answer #179451 by richwmiller(17219)\"\" \"About 
You can put this solution on YOUR website!
let a= first person
\n" ); document.write( "b=second person
\n" ); document.write( "c=third person
\n" ); document.write( "a+b+c=80
\n" ); document.write( "b=2a
\n" ); document.write( "a=b/2
\n" ); document.write( "c=b-5
\n" ); document.write( "three variables and three equations
\n" ); document.write( "substitute
\n" ); document.write( "b/2+b+b-5=80
\n" ); document.write( "combine
\n" ); document.write( "2.5b=85\r
\n" ); document.write( "\n" ); document.write( "multiply both sides by 2
\n" ); document.write( "5b=170
\n" ); document.write( "divide both sides by 5
\n" ); document.write( "b=34
\n" ); document.write( "a=17=b/2
\n" ); document.write( "c=29=b-5
\n" ); document.write( "34+17+29=80
\n" ); document.write( "
\n" );