Rad, I know it's confusing when we start adding the alphabet to math, but it's actually pretty simple. Let's say she worked 3 hours. She makes 5(3) = 15, right? Boom.
In algebra, we turn it around.
y = 5x
That's your answer. The number of hours she works, x, is going to change how much she makes, y.