We are given that out of 300 people, 111 preferred candidate A. The proportion that prefer candidate A is the number of people that prefer candidate A divided by the total population, like this:

Solving the operation:

Therefore, the proportion that prefers candidate A is 0.37.
To determine the confidence interval we use the following formula:

Where:

The critical value for a 90% confidence interval is:

Now, we substitute the values in the formula:

Solving the operations:

And thus we get a confidence interval of 90% confidence.