solve cdvii