The function is
.
Replace
with y.

Next switch x for y and y for x.
\
Next solve for y:
\
(Multiply:
)
(Multiply each side by 2)
(Apply distributive property:
)
(Cancel common terms)
(Multiply:
)
(Subtract 2 from each side)
(Apply additive inverse property:
)
(Apply additive identity property:
)
The value of
.
Write in function notation, using
to represent the inverse of the function f.

Substitute
in above function,
.
The inverse function of
is
.