x = number of pairs of wool socks
y = number of pairs of cotton socks
wool socks = $3 per pair
cotton socks = $2 per pair
Total pairs = 7
β x + y = 7
Total cost = $18
β 3x + 2y = 18
Solve for x and y:
x + y = 7 ------------------ (1)
3x + 2y = 18 ------------- (2)
(1) x 2 : 2x + 2y = 7
Β 2x + 2y = 14 ------------- (1a)
3x + 2y = 18 ------------- (2)
(2) - (1a):Β x = 14
Sub x = 11 into (1):Β 4 + y = 7
Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β y = 3
x = 4, y = 3
Answer: 4 pairs of wool socks and 3 pairs of cotton socks