The domain of the function is the x values that the function can assume. See that the function starts and x = -4 (minimum value) and ends at x = 2 (max value). This is the domain! In inequality notation this will be:
The range of the function is the same idea of the domain but now looking at the y-axis
The function starts on the level y = 6 (max value that the function can assume) and the minimum value is y = 2. In inequality notation this will be: