From legal + -ity.
Practice speaking and memorizing "legality" and many other words and sentences in English.