The Logic of Juan Gris's Drawings