I have a question and its answer but I don't know how can i solve 

$$\frac {37}{13} = 2+ \frac {1}{x+\frac{1}{5+\frac{1}{y}}} $$

the answer $ x =1, y=2$  

Could any one explain how to solve this ?? please