Given that both are involved with Mendes (Mendes isn't Otamendi's agent but is handling his move), my thinking is some sort of swap deal. Mangala was reported to be one of Valencia's possible targets not long ago. Mendes wields incredible power over clubs like Valencia and Atletico. VCF want £36m for Otamendi so, let's say we were interested in this, we could save face with a straight swap since we'd be pretty much getting our money back.
Otamendi last season was better than any of our centre-backs since Kompany 2011/12 and would be an incredible signing. He's not old at 27, even though anything over 26 is considered old by some when considering signings for some reason. But Mangala has the raw ability to become something special. Or he could never fulfill that potential. I guess, again if there's anything to this, City face a dilemma. Trust in Mangala to become what he can or sign a real leader of men who is only 27 and perfect for the English game.
Also, if Denayer really is as good as everyone seems to think, he could take on Mangala's role of young protégé.
Personally I'd be sad if we sold Mangala though, despite being a huge Otamendi fan. It'd just seem very fickle.