In a right triangle, the length of the side adjacent to an angle $ heta$ is 6 units, and the length of the hypotenuse is 10 units. What is the cosine of angle $ heta$?