The correct option is D 2 and 2
First let’s look at what a component is.
A component is a chemically independent constituent of a system.
In image A, we know that oil and water are different chemical substances. So, it has 2 components. In the solution in image B, we know that sugar and water are mixed, so there are 2 chemical substances. So, number of components is 2.