Duration phrases with 'ago' don't require a preposition. The correct phrasing is 'I completed the XYZ project two months ago' - no preposition before the duration. 'Ago' itself functions as an adverb indicating past time, making additional prepositions unnecessary and incorrect.