Precalculus Examples

Solve for f log of x-3+1 , f^-1
I am unable to solve this problem.