In the figure given below, AB is a straight line. If ∠AOC=50° and ∠BOD=60°, then find the value of x.