$c^2 = a^2 + b^2 - 2ab\cos(\theta)$, so
$12^2 = 7^2 + 9^2 - 2(7)(9)cos(\theta)$.
Solve that for $\theta$, and you have one angle, and its opposite. The other two angles are supplements of that angle ( $180 - \theta$).