Trolley problem easy actually. Not changing the track makes the deaths your fault through inaction. Personal responsibility to minimise harm. Philosophy: solved
changing the track makes the death your fault due to direct action. direct action worse than inaction.
Choosing not to take an action is still an action. Your fault either way. Minimise harm.
objection, doing nothing is the most optimal choice because the real person at fault is whoever tied the people to the tracks and left them to die