Solve for A Ax+b=0