tan(2A-B)
=tan(A+(A-B))
=(tanA+tan(A-B))/(1-tanAtan(A-B))
=(-1/7+1/2)/(1+1/7*1/2)
=(5/14)/(15/14)
=1/3