結局 => after all; eventually; in the end ~ N3
に[基「もと」]づいて/に[基「もと」]づき/に[基「もと」]づく => Based on A N2
Based, Focused, Depending on
に基づいて => based on; on the basis of ~ N2