Territories differentiated by socio-economic features. Shape the educational pathways