Answer:
black socks = w - 6.
Explanation:
John's sock drawer has a total of w white socks, the problem tells us that he has 6 fewer black socks than white socks, this would mean he has 6 less socks than the amount of white socks.
Therefore, written as an algebraic expression, this would give us that the total of black socks is w - 6.