I got a maths question that gives you 3 points, $A (6,0,0)$ and $B (6,6,0)$ and $C (0,6,0)$ and a line DG, D being $(0,0,6)$ and $G (0,6,6)$ so the equation of DG is $\vec r$ = 6$\hat i$ -$6t\hat j$ . You're then asked to find the equation of the sphere that contains those 3 points and is tangential to the line.
I know that if I had 4 points I could do a simultaneous equation(s), but I don't see how that could work here. Please help.
I should maybe mention that the $origin, A, B, C, D, G, E(6,0,6) ~and~ F (6,6,6)$ form the 3 corners of a cube.