The trolley problem is a thought experiment. Like a physics experiment, it simplifies the premises repeatedly and controls variables to explore the core issue it needs to address.
Of course, this kind of "exploration" is more meaningful to experts in ethics and law.
But for someone like Xiang Shan, the first reaction to this problem is...
"First, kill the person who tied them up."
"Oh, you mean..." The Holy Lord surprisingly thought for two seconds: "You mean, I tied Kotoba and Mengying to the tracks, and since these tracks are not on the same line as your 'masses,' I'm forcing you to make a choice?"
The Martial God Xiang Shan didn't answer but instead grabbed the Holy Lord's headless body and walked toward the back of the submarine, as if climbing a mountain.