Question 1026032
Try to summarize price information as a table.

<pre>
cheese           6
pepperoni        9
supreme         12
</pre>


List the cost of each pizza type bought.
<pre>
Variables for how many of each type may be c for Cheese, p for Pepperoni, s for Supreme.
cheese           6c     
pepperoni        9p
supreme         12s
</pre>

"He spent.....",
becomes  {{{9p=2*6c}}}.


There are two other equations which come from the description.
{{{system(c+p+s=38,6c+9p+12s=336)}}}


The more complete system to solve is this:
{{{system(c+p+s=38,6c+9p+12s=336,9p=12c)}}}.


Simplify the system and solve it for c, p, and s.