Let x represent the length of the rope. If you draw a horizontal line from the top of the peg to the pole, you will form a right triangle. The length of the vertical leg of this triangle is feet. This is the side adjacent to the angle. The rope is the hypotenuse of the right triangle. So you can use cosine to set up your equation: