x - the number of sandwiches ordered
y - the number of soups ordered
There were 18 people, and each person ordered either one soup or one sandwich.

The sandwiches cost $7.75 each, the soups cost $4.50 each. The total cost was $113.50.

Set up a system of equations:

10 sandwiches were ordered.
The answer is D.