document.write( "Question 158201This question is from textbook Intermediate Algebra for College Students
\n" ); document.write( ": Painting Sales: Joseph DeGuizman, an artist, sells both large paintings and small paintings. He sells his small paintings for $60 and his large paintings for $180. At the end of the week he determined that the total amount he made selling 12 paintings was $1200. Determine the number of small and the number of large paintings that he sold.\r
\n" ); document.write( "\n" ); document.write( "---I know the answers, more importantly, I cant understand how to setup the equation(s) to get the answers.
\n" ); document.write( "

Algebra.Com's Answer #116590 by gonzo(654)\"\" \"About 
You can put this solution on YOUR website!
let a = number of small paintings sold
\n" ); document.write( "let b = number of large paintings sold
\n" ); document.write( "let $60*a = amount of money received from the sale of small paintings
\n" ); document.write( "let $180*b = amount of money received from the sale of large paintings
\n" ); document.write( "number of total paintings sold is 12, so
\n" ); document.write( "first equation becomes: a+b=12
\n" ); document.write( "total amount of money made is $1200, so
\n" ); document.write( "second equation becomes: $60*a + $180*b = $1200.
\n" ); document.write( "to solve this equation, you need to remove one of the unknowns by describing it in terms of the other unknown.
\n" ); document.write( "in the first equation, if a+b=12, then a=12-b (subtract b from both sides of the equation).
\n" ); document.write( "in the second equation substitute (12-b) everywhere you see a.
\n" ); document.write( "second equation becomes
\n" ); document.write( "$60*(12-b) + $180*b = $1200
\n" ); document.write( "expanding this becomes
\n" ); document.write( "$60*12 - $60*b + $180*b = $1200
\n" ); document.write( "multiplying out all factors that can be multiplied, this becomes
\n" ); document.write( "$720 - $60*b + $180*b = $1200
\n" ); document.write( "subtracting $720 from both sides of the equation and it becomes
\n" ); document.write( "$180*b - $60*b = $1200 - $720
\n" ); document.write( "adding like terms together, this becomes
\n" ); document.write( "$120*b = $480
\n" ); document.write( "solving for b, this equation becomes
\n" ); document.write( "b=$480/$120 = 4
\n" ); document.write( "if b = 4, then 12-b = 8 = a
\n" ); document.write( "a = 8
\n" ); document.write( "b = 4
\n" ); document.write( "second equation becomes
\n" ); document.write( "$60*8 + $180*4 = $1200, which becomes
\n" ); document.write( "$480 + $720 = $1200, which becomes
\n" ); document.write( "$1200 = $1200 proving the formula is correct with
\n" ); document.write( "a = 8, and
\n" ); document.write( "b = 4\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );