Equations of Spheres and Planes