Answer:
44 kg, and since both sold the same amount so did A.
Let me know if this method doesn't make sense though and I should be able to explain it.
Step-by-step explanation:
Both shops sold the same amount, let's call it x.
At the end, let's say shop B had y left, this means A would have 4y left, since the question says "After each shop sold the same quantity of rice, the amount of rice left in Shop A was 4 times that of Shop B"
So this means A started with 156, sold x and was left with 4y, or in math 156 - x = 4y
B you could write 72 - x = y
Now you have a system of equations.
156 - x = 4y
72 - x = y
There are a number o ways to look at this. If you graph them you want the (x, y) coordinates where they intersect, or in other words the x and y values that work for both of these equaions.
The methods all wing up making you solve for one variable and plugging it into the other equation to solve for the other. The easiest method is probably canceling out.
156 - x = 4y
72 - x = y
Now, for these two the goal is to make one of the variables go away by adding or subtracting one equation from the other. You could also multiply one by something. In fact here are all possibilities.
If you subtract one from the other here is what would happen.
156 - x = 4y
-(72 - x = y)
_________
156 - x = 4y
-72 + x = -y because you distribute the minus sign
_________
84 = 3y because 156-72 = 84, -x + x = 0 so they canceled out and 4y - y = 3y
28 = y because you divide both sides by 3.
It's all just algebra after the addition/ subtraction. You could also do it the other way subtracting 156 - x = 4y from 72 - x = y. Either way would cancel the xs. But now that you know y = 28 you can plug that into either of the equations again to find x.
156 - x = 4y
156 - x = 4(28)
156 - x = 112
156 = 112 + x
44 = x
72 - x = y
72 - x = 28
72 = 28 + x
44 = x
Now, if you wanted to cancel the ys initially you would have to multiply.
156 - x = 4y
72 - x = y
Normally subtracting just got rid of the xs. You would need to multiply the bottom one by 4 to get rid of ys.
156 - x = 4y
288 - 4x = 4y
Now if you subtracted one from the other the 4ys would cancel. You could also divide the top one by 4 and get
39 - x/4 = y
72 - x = y
here you have a fraction though and that's gonna make things a little more difficult.
Let me know if this method doesn't make sense though and I should be able to explain it.