Answer:
A pound of jelly beans costs $4, and a pound of gummy worms costs $6
Explanation:
Let
Cost of one pound of Jelly beans = x
Cost of one pound of Gummy worms = y
Making equations from the statements:
Lillian bought 4 pounds of jelly beans and 3 pounds of gummy worms for $34:

Kelsey bought 5 pounds of jelly beans and 3 pounds of gummy worms for $38:

Solving both equations we can found cost of candies.
Let:

Subtracting both equations to find value of x

So,we get value of x=4
Now putting value of x in eq(1) to find value of y

We get value of y=6
Cost of one pound of Jelly beans = x = 4
Cost of one pound of Gummy worms = y = 6
A pound of jelly beans costs $4, and a pound of gummy worms costs $6