the ratio of two numbers is 2 / 3 , and if a 1 is subtracted from the numerator and a 1 is added to the remainder the ratio becomes 1 / 2 , then the numbers are .
a : b = 2 : 3 b = 3 / 2 a a - 1 / b + 1 = 1 / 2 solving this we get a = 6 and b = 9 answer : a
add(add(multiply(add(add(multiply(2, 1), multiply(1, 1)), add(multiply(2, 1), multiply(1, 1))), 1), add(multiply(2, 1), multiply(1, 1))), multiply(multiply(3, 2), const_10))