You will have to swing across the chasm.
First, you need restore history in Baghdad, 800 AD.
And you need to have convinced Nelson to sail off to Egypt.
Did you take Nelson's boarding hook?
Use turban from Baghdad to swing across.
You need the hook to attach the turban to the strut.
UNWRAP TURBAN. TIE TURBAN TO HOOK. THROW HOOK AT STRUT.