Find closest multiple of $31$ to $52$. We see that $1 \times 31 = 31$ is the nearest. Now subtract $31$ from $52$ to get reminder $21$. Add $1$ to quotient.
Since $21$ is less than $31$, stop the division. The reminder is $21$. The topmost line $01$ is the quotient. Remove all zeros at the start of the quotient to get the actual quotient $1$.