Find closest multiple of $165$ to $963$. We see that $5 \times 165 = 825$ is the nearest. Now subtract $825$ from $963$ to get reminder $138$. Add $5$ to quotient.
Find closest multiple of $165$ to $1380$. We see that $8 \times 165 = 1320$ is the nearest. Now subtract $1320$ from $1380$ to get reminder $60$. Add $8$ to quotient.
Since $60$ is less than $165$, stop the division. The reminder is $60$. The topmost line $0058$ is the quotient. Remove all zeros at the start of the quotient to get the actual quotient $58$.