6 is neither equal to 0 nor equal to 7, so the last "piece" of h(x) applies. Then
h(6) = 3•6 - 2 = 18 - 2 = 16
3.3m questions
4.3m answers