mx=9 -myx=9 correspond to the level of compression and the “amount of effort” 7-Zip will put into analyzing the contents of the files to be compressed to find the best compression strategy. This usually yields the best compression for most file types.
t7z -m0=lzma2 indicates that we want to create 7zip packages that primarily use the LZMA2 algorithm for file compression.