Answer
The metals can't be the same because their densities are different.
Work Step by Step
The metals can be the same only if their densities are the same.
Cubes have volumes of $w^3$, and density is mass divided by volume.
Your cube's density: (16.23g)/(1.32cm)$^3$ = 7.06g/cm$^3$
Partner's cube's density: 24.64g/(1.46cm)$^3$ = 7.92g/cm$^3$
These densities don't match, so the cubes must be different substances.