Sam and Alex are each selling tickets for a school event. Sam sells each ticket for $5 and has sold a total of x tickets. Alex sells each ticket for $8 and has sold a total of y tickets. Together, they made a total of $74 from ticket sales. You can represent their combined sales with the equation:
$$5x + 8y = 74$$
If Sam sold 4 more tickets than Alex, you can express this relationship with the equation:
$$x = y + 4$$
To find out how many tickets Alex sold, solve the system of equations:
$$5x + 8y = 74$$
$$x = y + 4$$