Systematic study of X-ray Cavities in the brightest galaxy of the Draco Constellation NGC 6338