In the adjoining figure, it is given that AB || CD, ∠AOB = 50° and ∠CDO = 40°. Find the measure of ∠BOD.