124 + (118-x)=217
=> 118-x=217-124
=> 118-x=93
=> x=118-93
=> x=25
(x-47)-115=0
=> x-47=0+115
=> x-47=115
=> x=115+47
=> x=162
315+(146-x)=401
=> 146-x=401-315
=> 146-x=86
=> x=146-86
=> x=60
124+(118-x)=217 => 118-x=217-124=> 118-x=93=> x=118-93 => x=25
(x-47)-115=0 => x-47=0+115=>x-47=115=>x=115+47=>x=162
315+(146-x)=401=>146-x=401-315=>146-x=86=>x=146-86=>x=60