Since you're giving us the original and final volumes, as well as the mass, and all you want to know is density, we don't actually care about temperature or pressure. Let um do whatever they want to do.
The new mass is the same as the original mass ... 4 grams.
The new volume is 50 cm³.
The new density is (mass)/(volume) = (4g) / (50 cm³) = 0.08 g/cm³