A square of area 2 is inscribed in a square of area 3, creating four congruent triangles, as shown below. What is the ratio of the shorter leg to the longer leg in the shaded right triangle?

**Answer Choices**

A. \dfrac{1}{5}

B. \dfrac{1}{4}

C. 2-\sqrt{3}

D. \sqrt{3}-\sqrt{2}

E. \sqrt{2}-1