Simplify a line.