Is this one expression and you want x=1, or is this one entire equation?
-
You are not presenting your problem well.
If you want x=1 to be used in the expression 3x-x+2 and evaluate it, then
If this is not what you wanted to know, then present the problem and question more thoroughly and clearly.