What is the gravitational force on a bar that is 3 meters long and has a density of 3x kg/m and lies 3 meters from a 2 kg point mass

What is "3x kg/m" ?

Which direction is the bar? in line, perpendicular, or what?