added solution of eqs in the form Atrig1(f(x)) + Btrig2(g(x)) = C