Let’s the point on the x-axis be (x, $0$). [y – coordinate is zero]
And, let’s this point divides the line segment AB in the ratio of k :$1$.
Now by using the section formula for the y-coordinate, we have
$0=(7k–3)/(k+1)$
$7k –3=0$
$k=3/7$
Hence, the line segment AB is divided by x-axis in the ratio $3:7$