5. If the projections of the two legs of a right triangle onto the hypotenuse are in the ratio $1: 4$, then the ratio of these two legs is ( ).
(A) $1: \sqrt{2}$.
(B) $1: 2$.
(C) $1: 3$.
(D) $1: 4$.
B

Translate the text above into English, please retain the original text's line breaks and format, and output the translation result directly.