can someone please explain this and how to do these types of problems??!?! im so confused and i dont know how to do them right

Answer:
28/53
Step-by-step explanation:
We need the cos of Q
therefore we'll use CAH (in SOH, CAH, TOA)
where CAH means
cos(angle)=adj/hyp
the side that adjacent to Q is 28
and the hypotonous (the oppsoite to the right angle) is 53
therefore cos(q)=28/53