Easy solution ^.

Cut out the old wood and rebrace the desk. Add a cross support for the back.

2 side rails, 2 under rails with underlying braces, done.