simplification in substitution and function evaluation

ok, then I am fine with it. BTW, can you remove the redundant parentheses around the expressions?