Extreme ultraviolet spectra from N-shell ions of Gd, Dy and W