Answer:
B
Step-by-step explanation:
∠ FDG = ∠ CDB = 50° ( vertical angles are congruent ), thus
∠EDG = 90° - ∠ FDG = 90° - 50° = 40° → B