We can use the concept of buoyancy to solve this problem. The buoyant force acting on an object is equal to the weight of the fluid displaced by the object. Since both blocks have the same volume, they displace the same amount of fluid. Therefore, the buoyant force acting on both blocks is the same.
Let V be the volume of each block, and let W_A and W_B be the weights of blocks A and B, respectively. Then, the buoyant force acting on each block is given by:
F_b = pw * V * g
where pw is the density of water, g is the acceleration due to gravity, and we have assumed that the blocks are submerged in water.
Since the buoyant force is the same for both blocks, we have:
pw * V * g = W_A - W_B
Substituting the given values, we get:
1000 * V * 9.81 = 4.5 * 9.81 - 2.8 * 9.81
Simplifying and solving for V, we get:
V = (4.5 - 2.8) / 1000 = 0.0017 m³
Therefore, the volume of block B is 0.0017 m³.