Definition: We say $d=\gcd(a,b)$ is the greatest common divisor of $a$ and $b$ if and only if the following holds:
1- $d>0$
2- $d \mid a$ and $d \mid b$
3- If $e \mid a$ and $e \mid b$ then $d \mid e$
Now we prove the existence of $\gcd(a,b)$ which is called the Bézout's theorem:
Proof: We claim that $\gcd(a,b)=\min\{ ax+by>0: x,y,z \in \mathbb{Z} \}$, let us call it $d$:
It's clear that that $S=\{ ax+by>0: x,y,z \in \mathbb{Z} \} \neq \emptyset$. Because either $a.1+b.0$ or $a.(-1)+b.0$ is positive and hence is in $S$. Therefore, $S$ is a non-empty subset of natural numbers and by using the well-ordering principle $S$ has a least positive element. set $d=\min(S)$. We claim that $d$ satisfies all of the properties of $\gcd(a,b)$:
1) $d>0$ is trivial by the definition of $S$.
2) We claim that $d \mid a$, the same technique could be used to prove that $d \mid b$.
Using Euclid's division algorithm(theorem) we know that $\exists q,r \in \mathbb{Z}$ such that $a=qd+r$ where $0 \leq r < d$
But $d \in S$ therefore $\exists x_0,y_0 \in \mathbb{Z}$ such that $d=a.x_0 + b.y_0$. Therefore $a =q(a.x_0 + b.y_0) + r \implies 0 \leq r = (1-qx_0)a + (-qy_0)b \in S$. If $r>0$ then because $r<d$ by Euclid's division algorithm that contradicts that $d = \min(S)$. Thefore $r=0$ and $a=qd$ which means $d \mid a$. You can similarly show $d \mid b$.
3) if $e \mid a$ and $e \mid b$ then $e \mid a.x_0+b.y_0$, i.e. $e \mid d$
This is obvious because $e \mid a \implies \exists q \in \mathbb{Z}: eq=a$ and $e \mid b \implies \exists q' \in \mathbb{Z}: eq'=b$
Now $eqx_0 + eq'y_0 = ax_0 + by_0 \implies \exists Q=(qx_0+q'y_0)\in \mathbb{Z}: eQ=ax_0+by_0 =d$
This proves that $d= \min\{ ax+by>0: x,y,z \in \mathbb{Z} \}$ satisfies all properties of $\gcd(a,b)$ and since $\gcd(a,b)$ is unique it must be equal to $\gcd(a,b)$.
To show that $\gcd(a,b)$ is unique you can use the third property twice. So, if you assume that $\gcd(a,b)$ is not unique and $d$ and $d'$ satisfy the definition of $\gcd$ then you must have $d \mid d'$ and $d' \mid d$ by using the third property of $\gcd$ twice. That implies $|d| = |d'|$ but since $\gcd$ is defined to be positive that means $d=d'$.
I guess now you'll need someone to translate all this into Spanish for you. Also, instead of $x_0$ or $y_0$ you can write $f$ and $g$. That doesn't really matter as far as we have demonstrated the existence of two such integers satisfying what you want.