Given that
P(x1,y1,z1)=(a,−8,4)
Q(x2,y2,z2)=(−3,−5,4)
And distance PQ=d=5
Then, we know that,
Distance of
PQ=√(x1−x2)2+(y1−y2)2+(z1−z2)2
PQ=√(a+3)2+(−8+5)2+(4−4)2
5=√(a+3)2+(−3)2
Squaring both side and we get,
25=(a+3)2+9
25−9=(a+3)2
(a+3)2=16
a+3=4
a=4−3
a=1