Let the distance from the earth to the point where gravitational force is to zero be x
Given that,
Mass of sum = Ms = 2 × 1030 kg
Mass of Earth = Me = 6 × 1024kg
Orbital radius = r = 1.5 × 1011 m
Now, We know that, gravitational force ∝ M/R2
Since, gravitational force of Earth = Gravitational force of Sun
x = 2.594 × 108 m
At a distance of about 2.6 × 105 km gravitational force is zero.