Three shirts and two pairs of pants cost $40. Four shirts and one pair of pants cost $37.50. How much does one shirt cost?

A. $5.00
B. $9.50
C. $6.75
D. $7.00