By order of operations, you compute the value of the expression in the parentheses first:
6 * 9 = 54
Next, do multiplication:
54 * 3 = 162
Then, do addition and subtraction:
162 + 9 = 171
171 - 5 = 166
The answer is 166.