The frequency in a study like this means the number of people which chose that option. Since the patients must chose one of them, then the sum of all the frequencies must be equal to the number of patients that answered the research. With this in mind we can find the missing value, x.

There were 36 patients that reported no pain.