Find closest multiple of $343$ to $2979$. We see that $8 \times 343 = 2744$ is the nearest. Now subtract $2744$ from $2979$ to get reminder $235$. Add $8$ to quotient.
Since $235$ is less than $343$, stop the division. The reminder is $235$. The topmost line $0008$ is the quotient. Remove all zeros at the start of the quotient to get the actual quotient $8$.