A company sells two sizes of rugs. A small rug sells for $14.00 and a medium-size rug sells for $25.00. The company sold 80 rugs last month and had $1340 in sales. Let x equal small rugs and y equal medium rugs. Which of the following system of equations can be used to determine how many of each type of rug was sold? (5 points)
A 40x + 40y = 80
14x + 25y = 1340
B x + y = 80
14x + 25y = 1340
C x + y = 39
11x + 15y = 80
D x + y = 80
40x + 40y = 1340