The study of X-ray M-shell spectra of W ions from the Lawrence Livermore National Laboratory electron beam ion trap