The function f is defined by f(x)=ax+b, where a and b are constants. If f(2)=1 and f(5)=10, what is the value of f(0)?
-5
-2
0
3