To determine what AC will equal simply add both of the expressions together. So add AB and BC together.
AC = 2x - 8 + x + 17 = 39
Gather like terms and simplify.
3x + 9 = 39
3x = 30
X = 10.
Next to solve for the other expression simply substitute x in those expressions.
39