First write the ratio red : white in simplest form. The HCF of 14 and 35 is 7, so
14:35=2:5
(i) 2:5:: ?:15. The second term changes from 5 to 15, a factor of 15÷5=3. So the red powder is 2×3=6 g.
Divya needs 6 g of red powder. (Check: 6:15=2:5.)
(ii) 2:5::8: ?. The first term changes from 2 to 8, a factor of 8÷2=4. So the white powder is 5×4=20 g.
Divya needs 20 g of white powder. (Check: 8:20=2:5.)