6 * 5^X - Y = 128
5 ^ ( X + 1) + 5Y = 235
--------------------------
5^X = A
--------------------------
6A - Y = 128
5A + 5Y = 235
-----------------------
Y = 6A - 128
5A + 5*( 6A - 128) = 235
5A + 30A - 640 = 235
35A = 875
A = 25
-------------------------
5^X = 5^2
X = 2
---------------------------
6 * 5 ^ 2 - Y = 128
Y = 150 - 128 = 22
--------------------------
( 5 ^ X) - Y = 5 ^ 2 - 22 = 25 - 22 = 3
Ответ 3