A cylindrical container 1.5m tall contains mercury to a certain depth, d. The rest of the cylinder is filled with water. If the pressure at the bottom of the cylinder is two atmospheres, what is the depth d?

I used this equation: 2atm = 1atm + (density of water* gravity* height of water) + (density of mercury*gravity*height of mercury)
where height of mercury = the depth d
and height of water = 1.5m - d
I used 13.534g/ml^3 and converted into kg/ml for the density of mercury and 1000g/ml for the density of water. My anwer was 1.4m but that is not right.
I tried solving this question with equation from similar questions that were answered here but didn't get the answer right. Can I get some help please?

To find the depth d, we can use the fact that the pressure at the bottom of the container is two atmospheres. The pressure at a certain point in a fluid is given by the formula:

pressure = atmospheric pressure + (density of fluid * gravity * height of fluid)

In this case, the atmospheric pressure is 1 atm. Now let's substitute the values into our equation:

2 atm = 1 atm + (density of water * gravity * height of water) + (density of mercury * gravity * height of mercury)

We are given the density of water as 1000 kg/m³ and the density of mercury as 13,534 kg/m³. We also know the height of the water is 1.5 m - d and the height of the mercury is d.

Now let's plug in the values and solve the equation:

2 atm = 1 atm + (1000 kg/m³ * 9.8 m/s² * (1.5 m - d)) + (13,534 kg/m³ * 9.8 m/s² * d)

Let's break the equation down step by step:

2 atm = 1 atm + 9800 N/m² * (1.5 m - d) + 132,917.2 N/m² * d

Simplifying further:

2 atm = 1 atm + 14700 N - 9800 N * d + 132,917.2 N * d

Converting atm to N/m²:

2 * 101,325 N/m² = 101,325 N/m² + 14700 N - 9800 N * d + 132,917.2 N * d

Now let's rearrange the equation and solve for d:

198,450 N/m² - 101,325 N/m² = 14700 N - 9800 N * d + 132,917.2 N * d

97,125 N/m² = 14700 N + 34,117.2 N * d

Now isolate d:

34,117.2 N * d - 97,125 N/m² = 14700 N

34,117.2 N * d = 146,825 N

d = 146,825 N / 34,117.2 N ≈ 4.3 m

Therefore, the depth d is approximately 4.3 meters.