Answer
$C=95^\circ$
$a\approx2.84$
$b\approx2.58$
Work Step by Step
1. Find the third angle $C=180-40-45=95^\circ$
2. Use the Law of Sines, we have $\frac{a}{sin45^\circ}=\frac{b}{sin40^\circ}=\frac{4}{sin95^\circ}$
3. $a=\frac{4sin45^\circ}{sin95^\circ}\approx2.84$
4. $b=\frac{4sin40^\circ}{sin95^\circ}\approx2.58$