Wil paid $35 for 5 T-shirts. Some of the T-shirts cost $5 each and the rest coast $10 each. Write and solve a system of equations.