I'm a little rusty here (or possibly losing my mind at this point), but actually this question involves a bigger problem (substitution rule/calculus) but I'm trying to understand a simple algebra concept first. See the following:

y = 2;

x = 10;

x/y = 5

Ok. I want to solve for y now. Exactly how is this done in algebra? What do you divide or multiply both sides by? I know the answer is y = 1/5x, but I'm unsure as to how one would get to that.

The only way I could see it is to solve for x first:

x = 5y, and then divide 5 on both sides: x/5 = y. There must be an easier and non redundant way, correct?