Each fruit cake requires 500g of flour and 100g of sugar.
Each sponge cake requires 200g of flour and 200g of sugar.
So if she makes "x" fruit cakes she will need 500x grams of flour and 100x grams of sugar.
If she makes "y" sponge cakes she will need 200y grams of flour and 200y grams of sugar.
Putting those together, if she makes x fruit cakes and y sponge cakes she will need 500x+ 200y grams of flour and 100x+ 200y grams of sugar.
You are told that she has 2kg= 2000 grams of flour and 1.2 kg= 1200 grams of sugar. So what inequalities do you have? Switching the "<" to "=" will give you linear equations which can be graphed showing the boundaries of the regions where the inequalities are true.