Explain PLEASE:

The legs of a right triangle are lengths x and x√3. The cosine of the smallest angle of the triangle is _____.

a. 1/2
b. √3
c. √3/2
d. 2√3