To solve this problem, we need to determine the value of x, which represents the number of calories in each slice of the cake.
Let's break down the information given:
Number of slices in the cake: 8
Number of calories in each slice of the cake: x
Number of brownies in the pan: 6
Number of calories in each brownie: 375
Difference in calories between the cake and brownies: 526
We can set up the equation as follows:
Number of slices in the cake * Number of calories in each slice of the cake - Number of brownies in the pan * Number of calories in each brownie = Difference in calories
8x - 6 * 375 = 526
Let's simplify and solve for x:
8x - 2250 = 526
To isolate x, we add 2250 to both sides of the equation:
8x - 2250 + 2250 = 526 + 2250
8x = 2776
To solve for x, we divide both sides of the equation by 8:
x = 2776 / 8
x = 347
The value of x is 347.
#### 347
The answer is: 347
Below is a math problem. Provide a detailed, step-by-step solution.

### Problem:
A cake has 8 slices and each slice contains x calories.  A pan of brownies has 6 brownies and each slice contains 375 calories. The cake has 526 more calories.

### Answer:
