A cube of water with side 10.0 cm floats vertically in water with 4.5 cm…