can you help me solve this problem with all the steps... i suck at Algebra

The value of f( -2) is 24
Solution:
Given function is:
[tex]f(x) = x^2-5x + 10[/tex]
We have to evaluate the given function for f( - 2)
We can obtain the value of f( -2) , by substituting x equal to -2 in given function
Plug in x = -2 in given function
[tex]f(-2) = (-2)^2 - 5(-2) + 10[/tex]
Solve and simplify the above expression
[tex]f(-2) = 4+ 10 + 10\\\\f(-2) = 24[/tex]
Thus value of f( -2) is 24