on the x axis means that the y value is 0 or the point is (x,0)
distance formula
D=

we know that distance is 5
the first point is (x1,y1)
the (x2,y2) is (x,0)
so
D=5
x1=-8
y1=3
x2=x
y2=0
5=

5=

5=

5=

square both sides
25=

minus 25 both sides
0=x^2+16x+48
factor
0=(x+4)(x+12)
set each to zero
x+4=0
x=-4
x+12=0
x=-12
the points are
(-4,0) and (-12,0)