To find out how many cups Eddie ordered, we can set up the equation based on the information provided.
Let \( x \) be the number of cups ordered.
The total cost can be expressed as: \[ \text{Total cost} = \text{Design fee} + \text{Cost per cup} \times \text{Number of cups} \] Given that the design fee is $30 and the cost per cup is $8, the equation becomes: \[ 334 = 30 + 8x \]
Now, subtract the design fee from both sides of the equation: \[ 334 - 30 = 8x \] \[ 304 = 8x \]
Next, divide both sides by 8 to solve for \( x \): \[ x = \frac{304}{8} = 38 \]
Thus, Eddie ordered 38 cups.