Straight and circular motions of a particle in the field of two fixed attractors