We can realize that cosine of theta is going to be equal to the adjacent side, square root of 9 minus x squared, over the hypotenuse, over 3, which is the same thing as 1/3 times the square root of 9 minus x squared, which is the same thing if we square 1/3 and put it into the radical. 