Solving for $x,y\in\mathbb{N}$:
$$2+\dfrac1{x+\dfrac1{y+\dfrac15}}=\frac{478}{221}$$
This doesn't make any sense; I made $y+\frac15=\frac{5y+1}5$, and so on, but it turns out to be a very complicated fraction on the left hand side, and I don't even know if what I got is correct.
Is there a more mathematical way to approach this problem?
Yes, there is a very large and important mathematical theory, called the theory of Continued Fractions. These have many uses, both in number theory and in analysis (approximation of functions).
Let's go backwards.
The number $\frac{478}{221}$ is $2+\frac{36}{221}$, which is $2+\frac{1}{\frac{221}{36}}$.
But $\frac{221}{36}=6+\frac{5}{36}$, which is $6+\frac{1}{\frac{36}{5}}$.
Finally, $\frac{36}{5}=7+\frac{1}{5}$.
Now compare the results of these calculations with your expression.