This relates to how the first barometers to measure atmospheric air pressure were made.
A long glass tube with one end open and the other end sealed was completely filled with mercury, then it was stood on end with the open end in a container filled with mercury. (You can google "mercury barometer".)
If the tube is relatively short, it will still be filled with mercury all the way to the top. If it's long enough, the column of mercury will not reach the top. Why? The air pressure on the surface of the mercury pool that the tube sits in is what supports the mercury. When the weight of a 1 cm^2 column of mercury is greater than the air pressure per cm^2, it can't be supported by that pressure. The top of the tube will have an almost perfect vacuum, with only a tiny amount of mercury vapor in it.
So what does all of this mean? The height of a column of water or mercury that can be supported by air pressure depends on, and is proportional to, the density of the water or mercury.
Now, to your problem. How you're supposed to get the answers depends on what units are used to define 1 bar of pressure. Your textbook or lecture notes should give you the value and units of a bar. If you're supposed to look it up, you'll find a variety of different combinations, including 750.06 mm of Hg or 1019.72cm of H2O. That would actually give you the answers directly.
750.06 mm ≈ 0.75 m of Hg
1019.72 cm ≈ 10.20 m of water
If you're supposed to calculate everything, you'll need to use 1 bar = 1x105 N/m2. Then you'll have to look up the gravitation constant and calculate the weight of a column of mercury or water. Note that grams and kilograms are units of mass, not weight, which is a force. The unit of force in the metric system is the Newton. This is confusing because we measure weight in pounds, which is a force. Most of the rest of the world measures "weight" in kilograms, which is really mass. I don't think they expect you to go through that, but maybe they do.
If you can look up enough information about what you're supposed to use as the basic information to do the solution, add a comment to this and I'll help you.
How is 1 bar defined for you?
If it's mm Hg, just multiply that by 13.6 to get the height for a column of water.
If it's a force per unit area:
We can calculate the force (weight) of Hg using the gravitation constant and the given density, then go from there.