Lines and pairs of points on cubics