Respuesta :

you can try checking this site that explains it perfecty https://brilliant.org/wiki/linear-diophantine-equations-one-equation/