There's nothing wrong with this pronoun agreement because nothing needs to be changed. It's a trick question.
Il is the prefix and legal is the root word because illegal means not legal.
It would be formal, bc speeches represent formality.
Hope i helped.