There are 20 purple(x) or yellow(y) marbles in a bag. The number of purple marbles is 4 less than 2 times the number of yellow marbles. Write a system of linear equations that represents the situation.