Complex sentence: The integration of Brazil in Mercosur has created the necessity of a closer relation with the Hispanic world and of better knowledge of the Spanish language, thus the Brazilian state has promoted the insertion of the Spanish language as part of obligatory education in the country.
Split into simpler sentences: The integration of Brazil into Mercosur created the necessity of closer relations between the Hispanic world and Brazil, as well as better knowledge of the Spanish language within Brazil. Thus, Brazil promoted the insertion of the Spanish language as part of obligatory education in the country.