Solve() now use line correctly.