We can use the density formula to find the irregularly shaped object's density.
The formula is:
[tex]\rho=\frac{m}{V}[/tex]Where
p (rho) is the density
m is mass
V is volume
Given,
V = 3 mL
m = 12 grams
Substituting, we get:
[tex]\begin{gathered} \rho=\frac{m}{V} \\ \rho=\frac{12}{3} \\ \rho=4\text{ grams/mL} \end{gathered}[/tex]