Hi OldTimer, it is nice to see you again.
I got the same as you until the end bit.
For stationary points
\( \frac{2}{n}x^{(\frac{2}{n}-1)}=\frac{n+1}{n}x^{(\frac{n+1}{n}-1) }\\ \frac{2}{n}x^{(\frac{2}{n}-1)}=\frac{n+1}{n}x^{(\frac{1}{n}) }\\ 2x^{(\frac{2}{n}-1)}=(n+1)x^{(\frac{1}{n}) }\\ 2x^{(\frac{2}{n}-1-\frac{1}{n})}=(n+1) \\ x^{(\frac{1-n}{n})}=\frac{n+1}{2} \\ x=\left(\frac{n+1}{2}\right)^{\frac{n}{1-n}} \\\)
You should do more to show it is a maximum and not some other kind of stationary point though.
This desmos graph shows that it is correct:
https://www.desmos.com/calculator/8hkpyrldi4
LaTex:
\frac{2}{n}x^{(\frac{2}{n}-1)}=\frac{n+1}{n}x^{(\frac{n+1}{n}-1) }\\
\frac{2}{n}x^{(\frac{2}{n}-1)}=\frac{n+1}{n}x^{(\frac{1}{n}) }\\
2x^{(\frac{2}{n}-1)}=(n+1)x^{(\frac{1}{n}) }\\
2x^{(\frac{2}{n}-1-\frac{1}{n})}=(n+1) \\
x^{(\frac{1-n}{n})}=\frac{n+1}{2} \\
x=\left(\frac{n+1}{2}\right)^{\frac{n}{1-n}} \\