Question: set of eqns, howto auto substitute

Hi all, I'm sort of new to Maple and I got the following problem (just an example): I have 3 equations of the following form: sin(x)=c+d; cos(x)=e+d; tan(x)=e; Now i want to solve the set of eqns to the variable c by automatically substituting d and e. The result should be: c=sin(x)-cos(x)+tan(x) Furthermore it would be very good to know, how to specify which variables should be subsituted and which should remain. I tried variations of eval, subs, algsubs and solve.. Help would be greatly appreciated!
Please Wait...