Rank of elliptic curves allied to certain cyclic extensions of degree 4 and 6. Chevalley-Weil formula for hypersurfaces in \(\mathbb{P}^n\) over curves and Mordell-Weil ranks in function field towers 