3d pythagorean theorem worksheet