Can someone tell me the answer Plz I’m struggling I’ll give brainlist and points

Answer:
4. 3
5. 5
Step-by-step explanation:
Let x = number of blocks in a bag.
4.
Left side = 2 bags & 7 blocks
Right side = 1 bag & 10 blocks
The beam is balanced, so the weights of the two sides are equal.
2x + 7 = x + 10
x = 3
There are 3 blocks in a bag.
5.
Left side = 3 bags & 6 blocks
Right side = 4 bags & 1 block
The beam is balanced, so the weights of the two sides are equal.
3x + 6 = 4x + 1
-x = -5
x = 5
There are 5 blocks in a bag.