Any of these words would work as synonyms to gregarious. The antonym clues from the sentences are "quiet and shy". The sentences describe Mateo as gregarious AND the opposite of his brother. Since his brother is described as "quiet and shy", we know that Mateo is the opposite of quiet and shy. Loud and outgoing are the direct opposites of quiet and shy, but there are many other words that can mean the same thing.
Please let me type this I have horrible handwriting and I know you wouldn't be able to read it and typing is so much more neat and faster! please consider letting me.