Исходная дробь A/B.
(A+8)/(B-7) = 11/16;
(A-2)/(B+3) = 1/26;
Решаем систему двух уравнений.
16*(А+8) = 11*(В-7);
26*(А-2) = В+3;
16А + 80 + 48 = 11В - 77,
26А - 52 = В+3; В = 26А - 52-3 = 26А-55,
16А+128 = 11*(26А - 55) - 77,
16А + 128 = А*(260+26) - 11*55 - 77,
А*(286 - 16) = 128+77+11*55,
А*270 = 128+77+550 + 55 = 810,
А = 810/270 = 81/27 = 9*9/(9*3) = 9/3 = 3;
B = 26A - 55 = 26*3 - 55 = 60 + 18 - 55 = 5+18 = 23.
Исходная дробь. 3/23