Please reason step by step, and put your final answer within \boxed{}.
Given \( n \) lines in a plane in general position (no two lines are parallel and no three lines are concurrent at a single point), how many triangles do they form?
user