Given,
Weight of Solid in Air = 40N
Weight of Solid in Water = 30N
Relative Density of the Solid = Weight in Air / Apparent Loss of Weight in Water
= 40N / 40N - 30N
= 40N / 10N
= 4
Hence,
Density of the Solid = 4g/cm^3 or 4000kg/m^3
Please Thumbs Up if Correct. :)