Complex sentence: Gold declines to help her any further, so she asks Jefferson for help, using his hat to use the last part of her magic by retrieving a cursed apple from the Enchanted Forest.
Split into simpler sentences: Gold declines to help her any further, so she asks Jefferson for help. She gives up the last bit of her magic so that Jefferson can use his hat to retrieve her cursed apple from the Enchanted Forest.