Let A(0,b,0) be the point on the y-axis at a distance of 5√2 from point P(3,−2,5).
We have given, AP=5√2
⇒AP2=50
⇒(3−0)2+(−2−B)2+(5−0)2=50
⇒9+4+b2+4b+25=50
⇒b2+4b−12=0
⇒b2+6b−2b−12=0
⇒(b+6)(b−2)=0
⇒b=−6,2
Thus, the coordinates of the required points are (0,2,0) and (0,−6,0)