Solve for a ax+by+c=0