Answer
$x=\dfrac{w-2}{3}$
Work Step by Step
Distribute $3$ by mulitplying it to each of the terms inside the parentheses:
$\begin{align*}
w&=5+3(x)-3(1)\\
w&=5+3x-3\\
w&=3x+2
\end{align*}$
Subtract $2$ from each side:
$\begin{align*}
w-2&=3x+2-2\\
w-2&=3x
\end{align*}$
Divide both sides of the equation by $3$:
$\begin{align*}
\frac{w-2}{3}&=\frac{3x}{3}\\
\frac{w-2}{3}&=x\\
\end{align*}$