Sounds like you want to find f(4) when f(x) = 6x+5
If so, then
f(x) = 6x+5
f(4) = 6(4)+5 ... replace x with 4
f(4) = 24+5
f(4) = 29