To find the value of \( x \) in the equation \( -6x = -42 \), we can isolate \( x \) by dividing both sides of the equation by -6:
\[ x = \frac{-42}{-6} \]
Calculating the right side gives:
\[ x = 7 \]
So, the value of \( x \) is \( 7 \). If you meant to ask for the value of \( w \), please provide more information or context.