Lin bought 4 bags of apples. Each bag had the same number of apples. After eating 1 apple from each bag, she had 28 apples left.

What part of the story does x represent

The number of apples in each bag.

Let x represent the number of apples in each bag.

4x - 4 = 28
4x = 32
x = 8

Thus, x represents the number of apples in each bag, which is 8.