For f(x)=3x+4, find f(2) and find x such that f(x)=17