two uniform rods of same mass M and same length L are separated by a distance d.Find the gravitational force between the two

separated how?

end-to-end?
side-by-side?