You don't need to find $f$; you just need the inverses of $f(x+1)$ and $4f(x)$. Therefore let's ignore the actual values of $g$ right now and look at this abstractly. If we think about it graphically, $f$ and $g$ are reflected across the line $y=x$; therefore if we move $f$ to the left by $1$ ($f(x+1)$) to find its inverse we move $g$ down by $1$: $g(x)-1$. Similarly, if $f$ is stretched vertically, we stretch $g$ horizontally: $g(x/4)$. Plugging the formula for $g$ into these we obtain our answers.
You don't need to find $f$; you just need the inverses of $f(x+1)$ and $4f(x)$. Therefore let's ignore the actual values of $g$ right now and look at this abstractly. If we think about it graphically, $f$ and $g$ are reflected across the line $y=x$; therefore if we move $f$ to the left by $1$ ($f(x+1)$) to find its inverse we move $g$ down by $1$: $g(x)-1$. Similarly, if $f$ is stretched vertically, we stretch $g$ horizontally: $g(x/4)$. Plugging the formula for $g$ into these we obtain our answers.