24 out of 36 is 9 out of 9

24 out of 36 is 9 out of 9

24 / 36 = x / 9, that is: 36x = 24 * 9, the solution is: x = 6
24 / 36 = 2 / y, that is, 36 * 2 = 24y, the solution is y = 3