Two non-mixing liquids of densities and (n > 1) are put in a container. The height of each liquid is h. A solid cylinder of length L and density d is put in this container. The cylinder floats with its axis vertical and length pL(p < l) in the denser liquid. The density d is equal to: