The density of metal = 4.5 g/ml, and the metal = Titanium
Further explanation
Density is a quantity derived from the mass and volume
Density is the ratio of mass per unit volume
Density formula:

ρ = density
m = mass
v = volume
mass of metal=27 g
volume = 6 ml
The density :

The metal with a density of 4.5 g/ml is Titanium