I have a quadrilateral ABCD, with diagonals AC and BD. Given are four angles: ∠DAC = 20°, ∠CAB = 60°, ∠ABD = 50°, and ∠DBC = 30°.
Those are the red angles in the above image.
I need to fill in all the other angles. Most are trivial – the angles in blue – but how do I find ∠BDC and ∠ACD? Their sum is 110, obviously, but I can't figure out how to find the individual angles.
Edit: Note that the red angles are examples; I'm looking for a general solution given any values for these angles that form a convex quadrilateral. (They do if ∠DAC + ∠CAB + ∠ABD < 180° and ∠CAB + ∠ABD + ∠DBC < 180; in that case you can draw triangles ABD and ABC and then quadrilateral ABCD.)






A numeric computation using the Laws of Sines and Cosines yields $\angle ACD=30^{\circ}$ and $\angle BDC=80^{\circ}$.
Let the intersection of $AC$ and $BD$ be $E$ and, wlog, let $AB=1$.
\begin{align} AD &= \frac{\sin 50^{\circ}}{\sin 50^{\circ}} = 1 \\ DE &= AD\frac{\sin 20^{\circ}}{\sin 110^{\circ}} = 0.36397023426620234 \\ BC &= \frac{\sin 60^{\circ}}{\sin 40^{\circ}} = 1.3472963553338608 \\ CE &= BC\frac{\sin 30^{\circ}}{\sin 110^{\circ}} = 0.71688141714205145 \\ CD &= \sqrt{CE^2+DE^2-2\times CE\times DE\times\cos 70^{\circ}} = 0.68404028665133743 \\ \angle ACD &= \arcsin\big(\frac{DE}{CD}\sin 70^{\circ}\big) = 29.999999999999996 \\ \angle BDC &= \arcsin\big(\frac{CE}{CD}\sin 70^{\circ}\big) = 79.999999999999986 \end{align}
Note that $\angle DAB = \angle ABC$. I am not sure how to use this to reach an elegant solution, but I am sure that a non-computation solution will use both this observation and $AB=AD$ in a non-trivial way.
Note also that, post-factum, $CD$ is tangent to the circumcircle of $\triangle ABD$ (because we computed that $\angle ACD=\angle BAD$).