Or, more fully:
X = X*16,7% + (x - x/1,22) + 15000
X = X*16,7% + x*(1 - 1/1,22) + 15000
X - X*16,7% = x*(1 - 1/1,22) + 15000
X*(1 - 16,7%) = x*(1 - 1/1,22) + 15000
X*83,3% = x*(1 - 1/1,22) + 15000
X = x*(1 - 1/1,22)/83,3% + 15000/83,3%
X = x*(1 - 0,81967213114754098360655737704918)/83,3% + 15000/83,3%
X = x*0,18032786885245901639344262295082/83,3% + 15000/83,3%
X = x*0,21648003463680554188888670222187 + 18007,202881152460984393757503001
If we can assume X = x, then:
X - X*0,21648003463680554188888670222187 = 18007,202881152460984393757503001
X*(1-0,21648003463680554188888670222187) = 18007,202881152460984393757503001
X*0,783519965363194458111113297779 = 18007,202881152460984393757503001
X = 18007,202881152460984393757503001/0,783519965363194458111113297779
X = 22982,4429206540577198402531836
Cheers