Andhra Pradesh NDA partners finalised their seat-sharing formula for the Lok Sabha and state polls following a marathon discussion on Monday, under which the BJP will contest six Lok Sabha and 10 assembly seats while the TDP will fight 17 parliamentary and 144 state seats.