# SUBSTITUTIONS IN SYMBOLIC EXPRESSIONS [closed]

Hi,

I would like to know if it is possible to substitute expressions inside some equation or expression.

Consider the following expression:

**(r+1)*(r+2)+g+a**

Then, I would like to say that I want this same expression for **c+d = r+1 +a**.

Is this possible? Can I implement something like this in SAGE?