Given the length of Mg in cm and the mass per meter of Mg, how do i find the mass?

answered above.