A block is made of an unknown material. When placed in water , the block floats and 4 m^3 of the block is observed to be above the surface of the water. When a seacond block with the same dimension but 3 times the density of the first is placed in the water 2 m^3 of the block is found above the surface. Find the mass of the first and second block (m1 and m2).