We cooperated in order to achieve our goal.

Literal

Goal [obj-を] achieve [purpose-ために], we [topic-は] cooperated [assertion-よ].

目的を達成する ('achieve a goal') is a formal collocation. ~ために marks purpose — 'in order to.' 我々 is the formal 'we.' よ adds mild assertion.