Source: http://jaicompris.com/lycee/math/arithmetique/divisibilite/theoreme-bezout-exercice.pdf