In the given figure, AC extends to point D. If ∠BCD=130∘ and ∠BAC=40∘, what is the value of x?
80
90
100
110