2021 AIME I Problem 6

Segments \overline{A B}, \overline{A C}, and \overline{A D} are edges of a cube and segment \overline{A G} is a diagonal through the center of the cube. Point P satisfies B P=60 \sqrt{10}, C P=60 \sqrt{5}, D P=120 \sqrt{2}, and G P=36 \sqrt{7}. Find A P.