In the given figure, AOB is a straight line. If ∠AOC=(3x−10)∘, \angle COD = 50^{\circ}\) and ∠BOD=(x+20)∘ then ∠AOC=?
(a) 40∘
(b) 60∘
(c) 80∘
(d) 50∘