Let's for the moment call F(x) the variable y instead:
y = 3x + 2
The inverse function means that we switch the places of the y and x and then solve for y (in other words, isolate y):
x = 3y + 2
Step one, move the constant to the other side. In this case, we need to subtract two to both sides:
x - 2 = 3y + 2 - 2
x - 2 = 3y
Step two, isolate the variable y, so we need to divide both sides by 3:
(x - 2) / 3 = 3y / 3
(x - 2) / 3 = y
We can also then distribute that 3 to our numerator:
1/3x - 2/3 = y
Now we replace the y with the F(x) from the beginning, but since we're using the inverse of the function here, we use a -1 power:
F-1(x) = 1/3 - 2/3