Let's say you play the game of collecting the maximum amount of coins along a path in the $(x,y)$ plane. The total amount of coins collected $S$ is given by $S = 5x + 7y$ where $5$ and $7$ represents the number of coins collected by walking respectively one unit in the $x$ and $y$ direction. However I can only go as far as one unit of distance ($x^2+y^2=1$).
It turns out that the solution to the problem is so such that $y/x = 7/5$ or said in other words, the ratio of how much you have to walk in the $y$ direction compared to in the $x$ direction is the same as the ratio of the rates at which you collect the coins in the $y$ direction compared to in the $x$ direction.
My question : suppose I have to explain this result to a middle school student who does not know any calculus of trigonometry. He is also quite shaky on describing equations of lines in the plane so I would not rely on that. How can I convince him with intuition that the two ratios are the same? (I'm not looking for a series of algebraic equations but rather for some kind of a visual proof).



First of all, let's lose the coins. That doesn't make any sense. How can the number of coins you get be somehow related to the direction in which you walk? Surely if there are coins lying around on the ground, the amount you get should be proportional to how far you walk, not in what direction.
Maybe the following is a better visualization of the problem. You are inside a circular wall, with some large radius, say a mile. Every step you take east, I'll pay you 5 gold. Every step you take north, I'll pay you 7 gold. How can you maximize the amount of money you make?
Where you end up and how much money you make are functions only of how many steps east and how many steps north you take. It doesn't matter in what order you take them. Therefore, we may as well begin by stepping only north, and then step only east until we hit the wall. So the only question is when to stop going north and go east.
At first it seems like we should just only go north, since we get more money that way. But towards the end of our journey, when we're just one step away from the wall, if we look to our right we'll find that we can step several steps to the east before hitting the wall. So clearly at that point we should head east. So it's not hard to intuitively see why going only north isn't optimal.
That's the easy part.
But now we need to work out exactly when to turn east. The basic idea is that every step I take north, I'm sacrificing a certain number of steps east. Because of the way the circle is getting shallower and shallower as I go north, (the eastern wall is approaching me faster and faster), I'm sacrificing more and more as I go north. How much eastward distance I sacrifice on a given step north has to do with the slope of the circle.
When we take a step north and sacrifice $x$ steps east, we gain a net total of $7-5x$ gold, which becomes negative at the point $x=\frac75$. By zooming into the circle and applying properties of similar triangles, it should be possible to essentially reinvent enough of differential calculus to show what you're trying to prove.