Need help setting this up!

A corner store has 54 pieces of candy. The number of gumdrops is six less than two times the number of jawbreakers. The number of lollipops is four more than the number of jawbreakers. How many each type of candy?

g = 2j-6

p = j+4
g+j+p = 54

22 gumdrops
14 jawbreakers
18 pops