How do you solve 2^(1/5x)=2?

You may see immediately the result considering that ${2}^{1} = 2$ so in your case $x$ must be $5$ to get ${2}^{\frac{1}{5} \cdot 5} = {2}^{1} = 2$.