tanA=tan(A-B+B)=[tan(A-B)+tanB]/[1-tan(A-B)tanB]=(1/2-1/7)/(1+1/2*1/7)=1/3
tan2A=2tanA/(1-(tanA)^2)=(2/3)/(1-1/9)=3/4