Let B be the cost of the blue socks
4*3 +6*Y =42
12 + 6*Y=42
6*Y =30
Y = <<5=5>>5
#### 5