Precalculus Examples

Evaluate the Function f(x)=x^2-x-12 , x^2-7x+10
I am unable to solve this problem.