The subs function syntax is subs(expression, variable, value). For f=3*x^2, subs(f, x, 5) substitutes x=5. Options A has wrong syntax with double comma. Options B and C swap arguments - subs expects (f, variable, value), not (f, value, variable) or (value, f, variable).