This is a piecewise function. You have to establish what part to plug in your x value based on the designations given in the function. In this case, x=9.
9>6, so we would follow the bottom designation! When writing the function, turn every "x" into a 9.