Your family bought 4 sandwiches and 3 salads. Spending $24. Let x be the cost of a sandwich and y be the cost of a salad. What are the possible prices of the sandwiches and salads?