document.write( "Question 967326: Ben was in charge of ordering 30 pizzas for the office party. He ordered three types of pizza: Cheese, pepperoni and supreme. The cheese pizza cost $7 each, the pepperoni pizza cost $10 each, and the supreme pizza cost $13 each. He spent exactly twice as much on the pepperoni pizzas as he did on the cheese pizzas. If Ben spent a total of $288 on pizza, how many pizzas did he order? \n" ); document.write( "
Algebra.Com's Answer #591222 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
Ben was in charge of ordering 30 pizzas for the office party. He ordered three types of pizza: Cheese, pepperoni and supreme. The cheese pizza cost $7 each, the pepperoni pizza cost $10 each, and the supreme pizza cost $13 each. He spent exactly twice as much on the pepperoni pizzas as he did on the cheese pizzas. If Ben spent a total of $288 on pizza, how many pizzas did he order?
\n" ); document.write( "----------------------
\n" ); document.write( "Equations:
\n" ); document.write( "7c + 10p + 13s = 288
\n" ); document.write( "c + p + s = 30
\n" ); document.write( "7c = 2*10p
\n" ); document.write( "--------
\n" ); document.write( "Modify::
\n" ); document.write( "p = (7/20)c
\n" ); document.write( "-----
\n" ); document.write( "Substitute for \"p\"::
\n" ); document.write( "c + (7/20)c + s = 30
\n" ); document.write( "7c + 10(7/20)c + 13s = 288
\n" ); document.write( "-------------------------------
\n" ); document.write( "Rearrange::
\n" ); document.write( "(27/20)c + s = 30
\n" ); document.write( "(210/20)c + 13s = 288
\n" ); document.write( "------
\n" ); document.write( "Modify for elimination::
\n" ); document.write( "(351/20)c + 13s = 390
\n" ); document.write( "(210/20)c + 13s = 288
\n" ); document.write( "------------
\n" ); document.write( "Subtract and solve for \"c\"::
\n" ); document.write( "(141/20)c = 2
\n" ); document.write( "141c = 40
\n" ); document.write( "-------------------
\n" ); document.write( "Note:: These equations do not result in
\n" ); document.write( "whole number solutions for c,p, and s.
\n" ); document.write( "-----------------
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "------------- \r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );