If the centroid of a triangle with vertices
\[
(4,p,-3),\quad (-1,-1,2),\quad (3,5,-8)
\]
is given by the midpoint of
\[
(1,4,-2)
\]
and
\[
(q,2,-4),
\]
then \(p^2+q^2=\)
Show Hint
For three-dimensional coordinate geometry, use the centroid formula coordinate-wise and equate it with the given midpoint coordinate-wise.