You will receive reward and the quest will end. Use the terminal under the stairs to free the girl.
You will keep the access to the village and you will be able to trade. If you decide to fight Dan by accepting Roslyn's offer, Amelia - the captive girl - will be killed after the battle. Kill Amelia - a contract with doctor Roslyn There are three possible outcomes available. If Dan is with you, then after deciding to kill her you will have to fight him as well.
You will have to face a key choice in this quest after you reach a small prison with not-unfriendly doctor Roslyn Chambers.