3 yards of cotton and 12 yards of denim cost 45 dollars. On the other hand, 5 yards of cotton and 8 yards of denim cost 51 dollars. What is the price of a yard of each?
3 yards of cotton and 12 yards of denim cost 45 dollars. On the other hand, 5 yards of cotton and 8 yards of denim cost 51 dollars. What is the price of a yard of each?
3C + 12D = 45 (eq 1)
5C + 8D = 51 (eq 2)
multiply both sides of
(equation 2) by 3 15C + 24D = 153
multiply both sides of
(equation 1) by 2 6C + 24D = 90
subtract 9C = 63
C = 7
substitute 7 back into
(equation 1) (3)(7) + 12D = 45
21 + 12D = 45
12D = 24
D = 2
.