f(x)= 6x + 6

if f is 0 and 5?

if f is 0, then

6x+6 = 0
6x = -6
x = -1

If this is what you're after, then do the other in like wise.