Find all values satisfying x

f(x) 3x-1
g(x) x^2-5x+12
(f*g)(x) = 17

f*g(x) = 3(x^2 -5x +12) -1

= 3x^2 -15x +35 = 17
0 = 3x^2 -15x +18
0 = x^2 -5x +6
(x-6)(x+1) = 0
x = 6 or -1