Let:
x = Number of candy bars
y = Number of lollipops
a = cost of a candy bar
b = cost of a lollipop
Ms. Watson spent $11.90 to buy a total of 20 candy bars, so:

and:

Let:

From (1) solve for y:

Replace (3) into (2):

Replace the value of x into (3):

Ms watson bought 6 candy bars and 14 lollipops