Once Shubrata and Amlan ate 50 jackfruits in total for 3 hours and 5 hours respectively. Another time they ate 200 jackfruits for 26 hrs and 10 hrs respectively. Now what is the minimum time needed for them to eat 252 jackfruits?
Source: Bangladesh Math Olympiad 2016 Junior Catagory
I can not understand the ratio of the time in this question. The second statement makes me more confused.

Let $x,y$ denote the number of jackfruits Shubrata and Amlan have eaten per hour. Then $3x+5y=50$ We also know that $26x+10y=200 \implies 13x+5y=100$.
Hence, $100-13x = 50-3x \implies 10x = 50 \implies x=5$ and $5y=50-15=35 \implies y=7$
Now, we're looking for the minimum amount of time it takes these two people to eat $252$ jackfruits. We're looking for time $t$ such that $5t+7t=252$. Hence, $12t=252$ and $t=21$ hours.