whether to sell을 marks the object of the verb. 팔지 often appears in questions or phrases meaning “whether to sell,” but the examples use different forms of 팔다, “to sell.”
KO: 이 집을 팔지 말지 아직 결정하지 않았어요.
EN: I haven’t decided yet whether to sell this house.