If you would like to know for how many days will 1/2 of a bag of dog food last, you can calculate this using the following steps:
1 day ... 3 bags of dog food
x days = ? ... 1/2 of a bag of dog food
1 * 1/2 = 3 * x
1/2 = 3 * x /3
x = 1/2 * 1/3
x = 1/6 of a day
The correct result would be 1/6 of a day.
The answer for w is w=3.5 <span />
First subtract 8 from both sides
leaving you with x/2 = -20
Then multiply both sides by two to get rid of the denominator
which leaves you with x = -40