Pregunta de entrevista de Tutor.com

How would I do solve long division