Greetings from Brasil...
Here we have application of Trigonometry
COS β = adjacent side ÷ hypotenuse (H)
bringing to our problem....
COS A = AC ÷ H
But we dont have AC.... We have to use Pitagoras:
AB² = AC² + BC²
AC² = AB² - BC²
AC = √(AB² - BC²)
AC = √(10² - 8²)
AC = √(100 - 64)
AC = √36
AC = 6
So
COS A = AC ÷ H ⇔ COS A = AC ÷ AB
COS A = 6/10
COS A = 3/5