Well, I wouldn't say "by construction angle COD is also theta". Since OD is perpendicular to AE, the only thing that is true "by construction" is that angle ODE and ODA are right angles. Now, you can they show that COD is theta by using the fact that the two angles in a right triangle are complementary- but you should show that.