If you have questions about the conjugation of легитимность or Russian nouns in general, you can practice and get feedback from a professional tutor.
Я много работал, сделал кучу неприятных вещей, чтобы достичь легитимности и уважения.
I've worked too hard, done too many unpleasant things to achieve legitimacy and respect.