Higher-order magnetic anisotropy in soft-hard magnetic materials