If Fuel is available and a relight is possible, forget about gliding distance initially.
The main priority is to start the engines. So pitch down to the windmilling start IAS and turn to somewhere sensible while the FO simply concentrates on starting the engines (repeatedly).
Once able, start the APU, use APU bleed for further start attempts and slow to greendot speed.