I Believe Its 9
9 * 3 = 27
9 * 4 = 36
Or
27 / 9 = 3
36 / 9 = 4
For this case we must solve the following quadratic equation:

Where:

The solution is given by:

Substituting:

Thus, we have two roots:

ANswer:

Using Pythagorean theorem, we can find that DG is 10.(I don't think I need to explain this)
Now cosD means the adjacent side over the hypotenuse.
The side adjacent to <D is 6 and the hypotenuse is 10 so
cosD=6/10=3/5
Which means the correct answer is choice D.
Hope this helped!
X=3 y=5 hope this helped :)