To determine the equation of a line in analytic geometry, one needs two key pieces of information: a point through which the line passes (x1, y1) and the slope (m) of the line. The equation can then be formulated using the slope-intercept form y = mx + c or the point-slope form y - y1 = m(x - x1).