A 7.83
Step-by-step explanation:
COS=adjacent(AC)÷hypotenuse (AD)
cos 40= 6÷AB
AB=6÷cos 40
AB=7.83
it would be 6xy and -16xy.