I am struggling to understand my teacher's answer for the following question.
The curve $y=\ln x$ is translated to the left by $\pi$ units and then dilated horizontally by a scale factor of 3. What is the equation that describes the new curve?
I thought it was $y=\ln(x/3 +\pi)$ since the translation is applied first, which isn't typical order. But my teacher has the answer as $y=\ln\frac{x+\pi}3$, which would make sense to me if the order was dilation then translation, but I'm struggling to understand how that comes from translation then dilation.
Is my teacher correct, and if so, can someone explain?