https://numbas.mathcentre.ac.uk/question/38089/blathnaid-s-copy-of-use-bezout-s-algorithm-to-solve-as-bt-gcd-a-b/embed/