The edtech major is sharpening its focus on profitability across its core online and offline education businesses.