substituting equations



Hi, 

I have 16 equations and I want to substitude them into another 6
equations.I would realy be pleased if you can help me with an idea or
with a source code or a demo.

thanks

oguz