Solve for A G+1/2nA=d