Pregunta de entrevista de Arkeus

Derive and code a Sobel filter from first principles?