Complex sentence: Baku made a bid to host the 2016 Summer Olympics and 2020 Summer Olympics, but failed to become a Candidate City both times.
Split into simpler sentences: Baku made a bid to host the 2016 Summer Olympics and later made a bid for the 2020 Summer Olympics. However, Baku failed to become a Candidate City both times.