I need help with 3D pythagoras

I Need Help With 3D Pythagoras class=

Answer :