Answer:
20+5x=50
x will represent the number of cakes she baked
she gets paid $5 for every cake she bakes, this is where the 5x comes from
she makes $20 ("in addition" that's where the "+20" comes from) a week. However, in this case we're only talking about what she made in one week, hense why there is no variable attached to the 20
she makes a total of $50
20+5=50
she baked a total of 6 cakes. How?
subtract 20 from both sides so you have:
5x=30
divide both sides by 5 to get x by itself:
x=6