it's like a matter of psychotes, iQ intelligence game, I really like such questions, I used to test to work in a company, offered a lot of test like that, your question is very complicated, experts like you just ask us, let alone us ?? hahahahha
my ability is only limited to the example below, looking for matching final numbers ,, but can not be like your problem.
maybe one day I can get the answer @mes , thanks for sharing this simple but complicated science.success always
example,
60- (1 + 29) = 30
30- (1 + 14) = 15