Answer
Since $b \gt a$, the angle which subtends $b$ must be larger than the angle which subtends $a$.
However, then the sum of $A$ and $B$ is greater than $180^{\circ}$, so no triangle exists satisfying the given values.
Work Step by Step
$A = 140^{\circ}$
$a = 5$
$b = 7$
Since $b \gt a$, the angle which subtends $b$ must be larger than the angle which subtends $a$. That is: $B \gt A$.
However, then the sum of $A$ and $B$ is greater than $180^{\circ}$, so no triangle exists satisfying the given values.