Solve for A d(A-N)=Q