Equations of lines and points