To solve for \( x \) in the equation \( (18 - 10)x + 30 = 80 \):
-
First, simplify the equation: \[ 8x + 30 = 80 \]
-
Next, subtract 30 from both sides: \[ 8x = 80 - 30 \] \[ 8x = 50 \]
-
Now, divide both sides by 8 to solve for \( x \): \[ x = \frac{50}{8} = 6.25 \]
So, the pig gained 6.25 kg each week.
The answer is \( \text{B } 6.25 , \text{kg} \).