Find closest multiple of $49$ to $257$. We see that $5 \times 49 = 245$ is the nearest. Now subtract $245$ from $257$ to get reminder $12$. Add $5$ to quotient.
Since $12$ is less than $49$, stop the division. The reminder is $12$. The topmost line $005$ is the quotient. Remove all zeros at the start of the quotient to get the actual quotient $5$.