if the directed distance from p(x,-2) to q(-1,-2) is -3, find the value of x.