For this type of questions we have to find to which part of the domain the number 2 belongs to, notice that 2 is different from 8 or 10 then we must apply the definition of the function for
[tex]t\ne8,10[/tex]Susbtituting t=2 we get:
[tex]f(2)=2^2-3(2)+2=4-6+2\text{ = 0}[/tex]Answer: f(2)=0.