Find closest multiple of $45$ to $189$. We see that $4 \times 45 = 180$ is the nearest. Now subtract $180$ from $189$ to get reminder $9$. Add $4$ to quotient.
Since $9$ is less than $45$, stop the division. The reminder is $9$. The topmost line $004$ is the quotient. Remove all zeros at the start of the quotient to get the actual quotient $4$.