Robin has w packages of gum and x packages of candy. There are y pieces in each package. How many pieces of gum does Robin have?
Let's denote the number of pieces of gum as G. Then we know that:

G = w*y

where w is the number of packages of gum and y is the number of pieces in each package.