Hi OldTimer, it is nice to see you again.
I got the same as you until the end bit.
For stationary points
2nx(2n−1)=n+1nx(n+1n−1)2nx(2n−1)=n+1nx(1n)2x(2n−1)=(n+1)x(1n)2x(2n−1−1n)=(n+1)x(1−nn)=n+12x=(n+12)n1−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}} \\