Optimizing K-12 Education through Online and Blended Learning