In the given figure, AC extends to point D and ∠BCD=115∘. If the measure of ∠BAC is equal to the measure of ∠BCA, what is the value of x?
115
65
50
25