(x-152)×59=6018
x-152=6018÷59
x-152=102
x=102+152
x=254
--------------------------------
(254-152)×59=6018
6018=6018
975×(x-361)=14625
x-361=14625÷975
x-361=15
x=15+361
x=376
------------------------------------
975×(376-361)=14625
14625=14625
51815÷(x-975)=1205
x-975=51815÷1205
x-975=43
x=975+43
x=1018
---------------------------------------
51815÷(1018-975)=1205
1205=1205
(30142+x)÷876=49
30142+x=876×49
30142+x=42924
x=42924-30142
x=12782
--------------------------------
(30142+12782)÷876=49
49=49