equivalent of subst(a,f(x),equation) ?



Hello,

I have only used maxima for a week now and I couldn't find 
how to do this using the descriptions in the manual.

I have an equation containing f(x), eg 
eq: f(x)*g(x)*x*sin(f(x)
I want f(x) to be replaced by a so the equation is eq: a*g(x)*x*sin(a). 
How can I do this? Subst does not accept these type of substitutions.



Regards,
Nijso