Check the final answer first, then review the worked steps.
$$\ln\left(\frac{x+1}{2}\right) = 3$$$$\frac{x+1}{2} = e^3$$$$x = 2e^3 - 1 \approx 39.17$$