Even though we are using variables, we still know that "difference" means subtraction. So, if the larger is x1 and x2, those variables go first. The smaller, y1 and y2 will go second. So our problem will look like this:
(x1 < x2 ? x2 : x1) - (y1 < y2 ? y1 : y2)
The sum of two numbers:
x + y = 108
The difference of the same two numbers:
x - y = 78
We can use substitution to figure out x and y:
x - y = 78 can be changed to x = 78 + y
We can plug this into the first equation:
78 + y + y = 108
78 + 2y = 108
2y = 30
y = 15
Now solve for x using any of the two equations. I'll use the first equation since it's easier:
x + 15 = 108
x = 93
Answer:
-59
Step-by-step explanation:
Answer:
10 grams or 0.010kg
Step-by-step explanation:
The mass of the bag used to make flour is 2.26 kg = 2260 grams
Now, in order to find out how many badges she made, we would need to divide the weight of the bag by the amount needed to make a badge.
Therefore: 
We know now that the bag will make 5 batches and will have some left over. In order to find how much we used, we can multiply 5 * 450 = 2250.
Therefore, in order to make 5 batches, Maria used exactly 2250 grams of flour which in result left us with 10 grams of the bag.
Note: 2260 -2250 = 10 grams.
Subtract, in order to find how many you have left.
Hope this helps.