Let P(x,y,z), then
Distance from x−axis =√y2+z2,
Distance from y−axis =√x2+z2 and
Distance from z−axis =√x2+y2
Also,
Distance from xy− plane =|z|,
Distance from yz−plane =|x| and
Distance from zx−plane =|y|
Given,
(y2+z2)+(x2+z2)+(x2+y2)=z2+x2+y2+9⇒x2+y2+z2=9
So, distance from origin =√x2+y2+z2=3