38*7+Х=1022
Х=1022-266
Х=756
----------------------
38*7+756=1022
***
37*8+Х=1022
Х=1022-296
Х=726
----------------------------
37*8+726=1022
***
Х+38*7=1022
Х=1022-266
Х=756
--------------------------
756+38*7=1022
****
Х-38*7=1022
Х-266=1022
Х=1022+266
Х=1288
-------------------------------------
1288-38*7=1022