All you have to do here is use the density of the substance as a conversion factor to go from grams to milliliters.
In essence, this is what the density of a substance is useful for. As you know, density is defined as the mass of exactly one unit of volume of a substance.
In your case, the density is expressed in grams per milliliter, which means that one unit of volume will be
This is what
#"3.291 g/mL"#means -- you get #"3.291 g"#for every #"1 mL"#of this substance
You can thus say that
#17 color(red)(cancel(color(black)("g"))) * overbrace("1 mL"/(3.291 color(red)(cancel(color(black)("g")))))^(color(blue)("density as a conversion factor")) = color(green)(|bar(ul(color(white)(a/a)color(black)("5.2 mL")color(white)(a/a)|)))#
The answer is rounded to two sig figs.