I found this for you. It even tells you how the answer was achieved.
<em>Easy just add 2 + 5 = 7 and you don't do anything to the 8's so the answer is 7/8</em>
AC=x, BC=x√3, AB is a hypotenuse (look at the pic below)
x√3>x, consequently ∠B<∠A and we have to find cosB, which is
(x√3)/AB.
<em>Let's find AB:</em>
AB=√(x²+(x√3)²)=√(x²+3x²)=√(4x²)=2x
<em>Thus, cosB is:</em>
cosB=(x√3)/(2x)=
√3/2