City, schools agree to old buildings sale