eg. x is the number of milk chocolate candy bars, y is the number of white chocolate of candy bar
x + y = 330
2x + 3y = 900
From first equation
x + y = 330
x = 330 - y
From second equation, subtitute x with 330 - y
2x + 3y = 900
2(330-y) + 3y = 900
660 - 2y + 3y = 900
660 + y = 900
y = 900-660
y = 240
The number of white chocolate candy bars is 240