document.write( "Question 308306: Ziggy bought x cans of red goo for y dollars a can, and z cans of blue goo for 3y dollars a can. If he bought twice as much blue goo as red goo, then in terms of y, what was the average cost, in dollars, per can of goo?\r
\n" ); document.write( "\n" ); document.write( "a) 3y/2 b) 7y/3 c) 3y – y d) 2y e) 6y
\n" ); document.write( "

Algebra.Com's Answer #220428 by palanisamy(496)\"\" \"About 
You can put this solution on YOUR website!
Ziggy bought x cans of red goo for y dollars a can
\n" ); document.write( "Total cost of red goo = xy
\n" ); document.write( "Also,Ziggy bought z cans of blue goo for 3y dollars a can.
\n" ); document.write( "Total cost of blue goo = z*3y=3yz
\n" ); document.write( "He bought twice as much blue goo as red goo.
\n" ); document.write( "So, z=2x
\n" ); document.write( "Total number of cans = z+x= 2x+x = 3x
\n" ); document.write( "Total cost of all goo = xy+3yz=xy+3y*2x=xy+6xy=7xy
\n" ); document.write( "Average cost per can = (7xy)/(x+z)=7xy/(x+2x)=7xy/3x=$ 7y/3
\n" ); document.write( "
\n" );